Black Friday 2026 50% off every plan Our biggest deal of the year on #1 Joomla products.
Ends in 12d 05h 19m 36s
Claim 50% off
Solved SP Page Builder

How to change Button text on Mouseover

Asked by Kiwiwebs 1 year ago Last activity 1 year ago

I have a client running a dual language site who wants the buttons to show different text on mouseover.

Searching online I see how this can be coded, but I am hoping someone might have an existing solution that works within the SP Pagebuilder buttons or button groups.

Thank youl

Accepted answer

Marked as the solution
Rashida Rahman Staff

Hi,

You will find accept button after each and every reply. You can click on that to accept any answer here.

Best Regards

3 more replies

Paul Frankowski Senior Staff
1 year ago · edited

Hi,

If that site has two languages, you should create separate page for each language, it's how it works in Joomla:

  • Spanish - Page 01
  • English - Page 02

then in each page - you can use native languages in all addons. This seems the most sensible & popular solution used by 90% webmasters (the others use google translator module).


OR you have to hire php developer from your city/country that can customize you current addons code. For somebody smart it's quick job, so it shouldn't expensive, and your clients pays for extras, right.

Kiwiwebs Asked this

Thank you. For the site it is only the buttons to be dual language. I really appreciate you taking the time to reply.

Rashida Rahman Staff

Hi there!

Thanks for reaching out.

Unfortunately, there is no default option to achieve this. If you really want you can get this done by Custom CSS though. Here is sample code for you:

#sppb-addon-1733816308483 #btn-1733816308483.sppb-btn-custom {
    font-size:0;
}
#sppb-addon-1733816308483 #btn-1733816308483.sppb-btn-custom:after {
    font-size:14px;
    content:"Normal text";
}
#sppb-addon-1733816308483 #btn-1733816308483.sppb-btn-custom:hover::after {
    content: "Hover text";
}

You need to use your own addon ID and button ID to get the above code work for you.

Here is all about custom code placement in Helix3 framework: https://www.joomshaper.com/documentation/helix-framework/helix3/custom-css-header-code

Best Regards

Kiwiwebs Asked this

Thank you. I appreciate the help.

Rashida Rahman Staff

You are always welcome.

You may accept the most useful answer in order to close the post.

Have a nice day!

Paul Frankowski Senior Staff

After all you have two CSS methods, you can use one of them.

Just mark topic as solved.

Kiwiwebs Asked this

This topic is now solved

Kiwiwebs Asked this

OK

Rashida Rahman Staff

Thanks for accepting... :)

Log in to reply.