Site logo

Archived topic

How to remove white border between primary navigation and hero section

3 replies · Started by Bob on April 12, 2023

Viewing posts 1–4 of 4

Hi there,

On some pages I'm not sure how to remove this white border between the primary navigation and the hero section. I don't want the text either; what I do want is to name the page (but not visible for customers of course, except for the primary navigation of course).

In the past I have created a topic about this same problem. For my homepage I managed to solve it, but I really can't remember what I did to solve it.

Can someone help me with it?

Thank you in advance!

Bob

Hi there,

edit the the page and:

1. Disable Elements meta box -> check the Content Title

https://docs.generatepress.com/article/disable-elements-overview/

2. Layout Meta box set the Content Container to Full Width

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

Note this removes the theme padding and spacing which is where the gap comes from, and makes the page full width.
So when you now build a page with GB Container Blocks you do not need to make them full width.

Thanks again David.

Always so clear.

Resolved.

You're welcome

This archived topic is closed to new replies.