V4 - default padding - Forum | JoomShaper
Staff replied SP Page Builder

V4 - default padding

Asked by Rudolf Arlt 3 years ago Last activity 3 years ago

is there a way to adjust the default padding of 75px for the line?
So that each new line has the different, preset padding.

8 replies

Mehtaz Afsana Borsha Staff

Hi

Thanks for contcating us. Could you please give me your site URL and also screenshot of that portion?

-Regards.

Rashida Rahman Staff

Hi there!

Thanks for reaching out to us.

Are you talking about the SP page Builder, please? Did you mean section by the word "line"?

However, if I assume you want default top,bottom padding value for all of your sections, then there is no default option to change the preset value. But you can use custom CSS, but it will apply to all of your sections with !important priority.

#sp-page-builder .page-content .sppb-section, #sp-page-builder .sppb-section {
    padding: 75px 0 !important;
}

Note: Path towards custom CSS(Joomla 4): System>Site Templates Styles> Click on your current default template name then choose Template Options. Then find custom CSS within the custom code.

https://prnt.sc/5mBuSRh907N3

https://prnt.sc/ooiq-lkMEXr_

https://prnt.sc/nunlX-f5AhK1

Best Regards

Rudolf Arlt Asked this


Padding is still 75px even if the display has changed. For me, this is an unsatisfactory result, as it affects all lines.
For me, only the basic setting for a new line should change.

Rashida Rahman Staff

Hi,

As I said earlier, there is no default way to change the default preset value, but you can use the above mentioned custom CSS to be able to set your desired value for top,bottom padding to all of your sections.

Well, if you want the same padding for all, then you can use the custom code, but if you want different values, then it will not gonna be work.

Hope you understand.

Best Regards

Rudolf Arlt Asked this

I understand

but it should be a challenge for you to be able to offer a way to customise the presets to your liking.
Somehow these presets have been set.
Possibly also with overrides.

Rudolf Arlt Asked this

Sorry, but when I understand how this works, I can also programme my own page builder. A simple instruction to solve exactly my problem would be understandable for me.

Rashida Rahman Staff

What I can do is to place it as a feature request then:)

Thanks for your patience and understanding.

Best Regards

Log in to reply.