Site logo

Archived topic

there is margin 20 px on the top of the content.

3 replies · Started by Jusung on September 12, 2022

Viewing posts 1–4 of 4

When you see this page, there is margin on the top of content.
So, the content is started after margin.

Can I control the margin?
I wanna remove the margin.

Hi there,

that space comes from the Separating Space in the Customizer > Layout > Container.

If you're wanting to create full width pages where you can control every aspect of spacing then i would suggest:

1. Set the Content Container to Full Width
This will give you a 100% full width page with no Theme Padding or Separating Space.

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

2. Build your Page with GB Container Blocks where you can set the Padding and margins you require

maybe give -20 to margin-top could be a solution?

You can add -20px Top Margin to a Container block.

I personally would create that kind of page using the Full Width Content Container ... :)

This archived topic is closed to new replies.