Annoying white space above header template part
-
I have noticed an unwanted blank space above or below the header on my website, and despite my efforts, I haven’t been able to pinpoint the cause or find a solution.
Details:
- WordPress Version: 6.4.2
- Theme: Next Business Version: 1.0.1
Steps Taken:
- I’ve inspected the element using browser developer tools, and the padding and margins seem correctly set to zero.
- Checked theme settings for any options related to header spacing, but found none.
- Tried adding custom CSS to reset margins and padding to zero.
<main class="wp-block-group is-style-default has-white-color has-text-color has-background has-link-color" style="background-color:#0d2137;padding-top:0;padding-right:var(--wp--preset--spacing--80);padding-bottom:0;padding-left:var(--wp--preset--spacing--80)"><!-- wp:cover {"url":"https://statix.pro/wp-content/uploads/2024/01/Data-Analyst-Freelance-Website-in-Purple-Bold-Tech-Style-1.png","id":43,"dimRatio":0,"focalPoint":{"x":0.59,"y":0.67},"minHeight":610,"minHeightUnit":"px","align":"full","style":{"spacing":{"padding":{"top":"0","right":"var:preset|spacing|80","bottom":"0","left":"var:preset|spacing|80"},"margin":{"top":"0px","bottom":"0px"}}},"className":"banner-section"} -->
The page I need help with: [log in to see the link]
- The topic ‘Annoying white space above header template part’ is closed to new replies.