Support Offline : Mon - Fri / 10am - 6pm (GMT +6)

Your Time: Our Time:

create button with text and alternate image

Featured Lock Resolved
create button with text and alternate image?

5 Answers

Sifat - Staff

More than a month ago #Permalink
Hi,
Thanks for your query. Please check this screencast https://files.fm/u/am2npdfx

-Best Regards

afavaro

More than a month ago #Permalink
maybe I explained myself badly, I would need a button that alternates 2 images or an image and a text when it is in normal state. or that in a normal state let me see some text and when I'm in hover let me visualize the image but always in the context of the button.

Pavel

More than a month ago #Permalink
This can only be done using css. There are many options for how to do this. One example:

.myBtn:hover {
background-image: url(path_to_your_image/image.png);
background-repeat: no-repeat;
background-position: center;
background-color: transparent !important;
color: transparent !important;
}

http://dl3.joxi.net/drive/2019/03/08/0008/0401/545169/69/3fe2405f02.gif

Sifat - Staff

More than a month ago #Permalink
maybe I explained myself badly, I would need a button that alternates 2 images or an image and a text when it is in normal state. or that in a normal state let me see some text and when I'm in hover let me visualize the image but always in the context of the button.

Sorry there is no default feature like that. You need to use your custom css for that. And i'm sorry to say that custom support in beyond our support range.

-Thanks

afavaro

More than a month ago #Permalink
This can only be done using css. There are many options for how to do this. One example:

.myBtn:hover {
background-image: url(path_to_your_image/image.png);
background-repeat: no-repeat;
background-position: center;
background-color: transparent !important;
color: transparent !important;
}

http://dl3.joxi.net/drive/2019/03/08/0008/0401/545169/69/3fe2405f02.gif



thx pavel


There are no replies made for this post yet.
Be one of the first to reply to this post!

Leaderboard (30 days)

Paul Frankowski

Paul Frankowski

Total Accepted Answers: 146
Sifat

Sifat

Total Accepted Answers: 89
Toufiq

Toufiq

Total Accepted Answers: 49
Kamruzzaman Alam

Kamruzzaman Alam

Total Accepted Answers: 2
RV

RAFFAELE VIOLA

Total Accepted Answers: 1

116

Templates

298910

Community Users

Newsletter

Don’t miss any updates of our new templates and extensions and all the astonishing offers we bring for you.
We never spam

Joomla! ® name is used under a limited license from Open Source Matters in the United States and other countries. JoomShaper.com is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

Connect Us