How do I remove any space between the Header/Navbar and contnet?

Is there a simple way in code, to remove the space between the header/navbar and content, for both a page and blog post?
I tried adding the CSS

.hentry .entry-wrap{
padding-top: 0;
padding-bottom: 0;
}

but still have a gap

Hi There,

Yes, custom CSS can be use. Now, we need to make sure that we’re using the correct CSS though. We like to check, please share specific page/post so we can inspect. Though I will show you how we can do it here: https://screencast-o-matic.com/watch/cblZ0k295F

.x-container.max.width.offset {
    margin-top: 0;
}

It can be different in your case because you might be referring to a different space so we need to check. By sharing your site URL and telling us which part you need to remove like remove space below title xyz we will be able to give you more specific recommendation. In other cases, you might using correct CSS, though it is not working because of CSS syntax error. Make sure that all CSS have correct open { and close } bracket.

Hope this helps.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.