Site logo

Archived topic

Padding between Navigation as Header and Featured Image

1 reply · Started by Alan on November 1, 2019

Viewing posts 1–2 of 2

Hi Leo,

I’m trying to get my Navigation as Header to sit on top of my featured image with no padding with both navigation header and featured image to be full width too while keeping the actual navigation contained. Like a page hero without the content. Is there a preferred image featured image size that would make this possible without adding css?

Hi there,

A little bit of CSS is required for this:

.featured-image.grid-container {
    max-width: 100%;
}
.separate-containers .page-header-image {
    margin-top: 0;
}

Adding CSS: https://docs.generatepress.com/article/adding-css/

Then you will want the featured image width to be around minimum 2000px.

Let me know :)

This archived topic is closed to new replies.