Fix gap between header and hero

Is there CSS to fix the gap between the header and hero (first block) on custom pages?

Hi,

If you’re using the ListingHive theme, we recommend creating the hero section with a “Read More” separator, as in the demo content. Everything before the separator will be displayed in the hero without extra spacing, and the hero background is set with the page’s featured image. You can find more details in the documentation: How to add a header image to pages - HivePress Help Center.

If you’ve inserted a custom block into the page content and want to use it as a hero, this CSS may help. Please replace the page ID 123 with your own page ID:

.page-id-123 .site-content {
  padding-top: 0 !important;
}

Hope this helps

When using the featured image and the ‘read more’ separator there is now a large blank space below the hero, between it and the following section block (cover block)

Could you please share a screenshot showing the issue and where exactly it occurs? This will help us better understand the situation and provide more accurate guidance.

You can also share a link to your website. If you prefer, you can send it privately to support@hivepress.io.

I have used the CSS for now. Thank you!