Site logo

Archived topic

Can't find the Header height setting

12 replies · Started by Henry Bowman on July 14, 2017

Viewing posts 1–13 of 13

I'm experimenting with some new background images for my header, and I remember a section in an older version of generate press that let you set all the Div's sizes by pixels. I can not for the life of me find this setting now.

is that the css padding in the div or the actual div size? I need to size the space the header takes up.

The padding settings are not what i'm after, I want to set the header's Div space height so it matches the background images we use.:

head padding vs  Div size

Unfortunately I believe that's how background images work in the header.

Maybe there is a way with CSS. I'll ask Tom to confirm :)

You can set the height of the header, but I don't suggest doing so at all. For example, if you set it to something like 400px, that will take up most of your screen on mobile.

.site-header {
    height: 400px;
}

If you want the header to be the height of your image while remaining responsive, you'd want to upload it as a static image instead of a background image in "Customize > Site Identity".

I too would like to do what Henry's asking, change the vertical size of the header. I'm happy to make the change by uploading the image as a static image instead of a background image in “Customize > Site Identity”, but I can find no such option there. Is this a version thing? I didn't see it anywhere else either, though I'm a noob here, so it's probably me.

I tried the link posted, where it said to use:

Appearance > Customize > Layout > Header

But... Header padding settings are not there.

I think I'm missing something?
Any chance someone can redirect me?
Thanks!

Hi Roger,

Can you make sure the Spacing module is activated at appearance > Generatepress?

Let me know :)

@Ying

Ah ha! :) It was not activated.

Thank you for letting me know to do that!

No problem :)

This archived topic is closed to new replies.