Center Text on Button - Forum | JoomShaper
Solved SP Page Builder

Center Text on Button

Asked by doug raught 4 years ago Last activity 4 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!

Accepted answer

Marked as the solution
Paul Frankowski Senior Staff

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.

2 more replies

Mehtaz Afsana Borsha Staff

Hi

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

-Regards.

doug raught Asked this

Thanks for the help. It works perfectly!

Log in to reply.