- This topic has 8 replies, 4 voices, and was last updated 3 years, 4 months ago by
Leo.
-
AuthorPosts
-
July 14, 2017 at 7:45 am #349367
Henry Bowman
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.
- h.k. Bowman
GeneratePress 1.3.48July 14, 2017 at 8:16 am #349378Leo
StaffCustomer SupportHi there,
Try adjusting the top and bottom header padding: https://docs.generatepress.com/article/header-padding/
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/July 14, 2017 at 8:57 am #349412Henry Bowman
is that the css padding in the div or the actual div size? I need to size the space the header takes up.
- h.k. Bowman
July 14, 2017 at 9:02 am #349420Leo
StaffCustomer SupportIn the div. So the green part here: https://s4.postimg.org/6h3gyjcot/headpadding.png
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/July 16, 2017 at 4:07 am #350077Henry Bowman
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.:
- h.k. Bowman
July 16, 2017 at 9:42 am #350214Leo
StaffCustomer SupportUnfortunately I believe that’s how background images work in the header.
Maybe there is a way with CSS. I’ll ask Tom to confirm 🙂
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/July 16, 2017 at 11:06 am #350248Tom
Lead DeveloperLead DeveloperYou 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”.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentDecember 10, 2017 at 1:46 pm #446429John
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.
December 10, 2017 at 3:58 pm #446469Leo
StaffCustomer SupportMaybe try changing the header padding? https://docs.generatepress.com/article/header-padding/
If not can you open a new topic and provide a link to your site?
Thanks!
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/ -
AuthorPosts
- You must be logged in to reply to this topic.