SPPB4.0.5 - Buttons Override Font Size - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

SPPB4.0.5 - Buttons Override Font Size

A

Alvaro

SP Page Builder 3 years ago

All buttons no matter what Addon they are are overriding the font-size with 16px. These are not in the SP Page Builder style files but are generated by the addons themselves in the render.

On a website, buttons of sizes sm, md, lg, xlg are used and therefore each button has different font sizes, but this bug is making all of them, regardless of size, have 16px. If the fontsize field is empty, you should leave it that way and not put a supposed value.

It does this on buttons created with SPPB 3.x and which don't have a font-size set because they didn't have a field for that. If a button doesn't have the font-size set, they should leave it ungenerated instead of adding 16px.

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

Hi

Thanks for contacting us. You can use custom CSS and fixed it. But you have to use !important after your CSS. This blog may help you.

https://www.joomshaper.com/blog/which-line-of-css-i-have-to-edit-code-inspector-in-action

-Regrads.

0
A
Alvaro
Accepted Answer
3 years ago #87085

In most addons where the button has font options, a better solution than adding Custom CSS is to edit the button, add and remove the font size, this creates the new field of type object and with this the 16px disappears.

BUUUUUUUUUT this is not the point, the point is that if the field is empty Page Builder doesn't have to add 16px, and we don't have to edit all the addons that have buttons to fix it. An example, suppose you have 100 sites, can you imagine editing all 100 sites just to change the font size in all the addons? It's weeks of work. This should be changed to save the community, including you, hours of unnecessary work when migrating your templates.

Regards

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

Noted with thanks.

0