Where is .sppb-btn padding defined? - Forum | JoomShaper
Staff replied SP Page Builder

Where is .sppb-btn padding defined?

Asked by clausjepsen 3 months ago Last activity 3 months ago

When inserting a button (type link), I see a 8px/12px padding; hence, it doesn't align with my text.

Nowere in the botton addon is this set, which I find really strange.
I would assume that margins, padding etc. was set as e.g. in Sections.

Where do I remove this padding?

1 reply

Paul Frankowski Senior Staff
3 months ago · edited

Hi,

this is default SPPB style , from components/com_sppagebuilder/assets/css/sppagebuilder.css (of course do not touch that file). You have two options to change that, by:

  1. custom CSS to override general style (on whole site or only one page),
  2. or inside each addon settings.
Log in to reply.