[Resolved] H1 post heading moves up a few pixel compared to start page

Home Forums Support H1 post heading moves up a few pixel compared to start page

  • This topic has 3 replies, 2 voices, and was last updated 10 months ago by Leo.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1073547
    Daniel

    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

    #1073956
    Leo
    Staff
    Customer Support

    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 🙂

    #1074003
    Daniel

    Hi Leo,

    that’s it, thank you very much!

    Now it looks better 🙂

    Daniel

    #1074081
    Leo
    Staff
    Customer Support
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.