Archived topic
Header creating scroll bar on desktop
5 replies · Started by Nenad on November 22, 2021
Looks like the header is creating some spacing issues - we have a scroll bar and white space above section on desktop view.
Is this something that could be easily fixed?
Thanks
Hi Nenad,
Can you try adding this CSS:
html, body {
overflow-x: hidden;
}
Let us know if the scrollbar still appears after adding.
Hi Elvin,
That resolved the scroll bar issue. Thank you very much!
Is there something to be done with white space above the main menu?
Included link (and login) in first post, if you need it.
That's an empty site header.
You can remove it completely if you're not going to use it by disabling it through a Layout element - https://docs.generatepress.com/article/layout-element-overview/#disable-element
Check "Site header" on a Layout Element's disable element tab and set the display rule location to "Entire site" if you want to disable it site-wide. :D
That worked for all pages! Thanks
No problem. :D