Site logo

Archived topic

Override Content Padding

1 reply · Started by WebbPlatsen on June 2, 2022

Viewing posts 1–2 of 2

I have 40px Content Padding for Top and Left.
Sometimes you want to add blocks which shall start 0px below the header and not begin 40x from the left.
I can set Top and Left to 0px but rest of my pages should have 40px padding.

How to solve this best?

Hi there,

i would set the Content Container to make the page Full Width:

https://docs.generatepress.com/article/content-container/

This also removes the theme padding.

Then use a GenerateBlocks Container Block to create sections on the page where i can apply padding to each container block.

This archived topic is closed to new replies.