Center Text On Button - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

Center Text On Button

DR

doug raught

SP Page Builder 3 years ago

Hi, The CENTER or RIGHT option to center the link text on the Button Addon or Modal Popup Addon does not respond.

I am able to position the whole button left/center/right, but the text does not respond to the center or right command.

In my case, I'm using both the Button Addon and the Modal Popup (button)

I know I have not had this problem before. I don't know whether it is the template or not. I'm using the Folium template in this instance.

I found a solution in the documentation but it did not work for me:

sppb-addon-1511377821795 .sppb-magnific-popup center {

margin: 0 auto !important; }

sppb-addon-1511377821795 .sppb-btn {

padding: 8px 12px !important; }

You can view the problem here: https://www.holyhoster.com/folium/index.php/get-involved

Thanks!

0
3 Answers
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 years ago #68675

If I may...

Use that custom CSS in Template Options - Custom Code - Custom CSS

.sppb-text-center a.sppb-btn {display: block;}

And it will center all "centered" buttons. The problem is template default style.

0
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 3 years ago #68667

Hi

Thanks for contacting us. Could you please give me a screenshot of your issue?

-Regards.

0
DR
doug raught
Accepted Answer
3 years ago #68682

Thanks for the help. It works perfectly!

0