Archived topic
H1 post heading moves up a few pixel compared to start page
3 replies · Started by Daniel on November 23, 2019
Hi,
on my website I've a really small design issue... The H1 post heading moves up a few pixels compared to the H2 heading of the start/archive page.
When you go to the homepage and you click on the first post, you'll see that the heading, date/author and content moves a bit up which looks a bit "funny" (on mobile devices and desktops).
I've tried to find the reason for this behavior but I'm not really sure, where to search... I had guessed there are different margin settings for h1/h2/featured image but as I can see, the settings looks identical.
Maybe you have a hint for me what I could change?
Thank you!
Daniel
Hi there,
Try this CSS:
.page-header-image, .page-header-image-single {
line-height: 1.5;
}
Adding CSS: https://docs.generatepress.com/article/adding-css/
Let me know if this helps :)
Hi Leo,
that's it, thank you very much!
Now it looks better :-)
Daniel
No problem :)