SPPB4.0.5 - Buttons override font size - Forum | JoomShaper
Staff replied SP Page Builder

SPPB4.0.5 - Buttons override font size

Asked by Alvaro 4 years ago Last activity 4 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.

3 replies

Alvaro Asked this

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

Mehtaz Afsana Borsha Staff

Noted with thanks.

Log in to reply.