Intuitive, expansive and flexible creation with no distractions.
Robust, user-friendly data protection for your visitors and you.
Modern, effective solutions for site growth and functionality.
Professionally designed and coded themes and plugins.
Free and premium, beautifully-designed templates.
Expand your site with your favorite tools and apps.
Get help building your site from our web development services.
Learn how Publii works, from installation to creation.
Documentation, guides, and tutorials for developers.
Explore and interact with others and learn new things.
Dedicated customer support for paid products.
Read up on the latest news about Publii and its products.
Forum › Bug Report
Depending on the value for the hero section height (40+ is uggly) my post titles are overlapping with the site header.
Simple: 2.2.2.3
Publii: 0.36.1
Here an image.
I’m trying to keep my hero section small. I don’t have much there.
I’m having with issue still with Publi 0.37.3 and Simple 2.3.0.0
Can somebody help me here?
Hi,
Could you provide an URL to your website?
Sure: https://enteresc.net/plug-and-play-replacement-ideas-for-testing/
You can reproduce it easily with the mobile emulation.
Currently the height of the hero section is 40vh to look at least at desktop acceptable. As lower the value as worse it gets.
That’s weird – for me on around 360px wide screen it looks ok
And here screenshot from my iPhone 11:
I can reproduce it with:
I have found a reason of your issue – screen height 🙂
Please try to add in Tools -> Custom CSS code like below:
.hero { position: static; }
.hero__content { margin-top: 150px; position: static; transform: none; }
Thanks. It works with the side header, but now article header is broken. Table of content and author are overlapping.
I have uploaded the changes.
Hi Sebastian,
Try this one:
.hero { height: auto; } .hero__content { bottom: inherit; left: inherit; padding: 10rem 0 8rem; position: relative; transform: none; }
Also, play around with the padding values to achieve a satisfactory effect.
Thanks! That fixes it.