[Resolved] Page Header: padding beneath image content

Home Forums Support [Resolved] Page Header: padding beneath image content

Home Forums Support Page Header: padding beneath image content

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #510008
    Marcus

    I have an image in place (not a background image) as the “content” of the page header on a homepage.

    But I can’t for the life of me figure out how to get the bottom of the image flush with the background color behind. The top is flush, but there’s around ~10px of gap on the bottom that’s driving me crazy! πŸ™‚

    2018-03-02_14-23-50.png

    #510131
    Leo
    Staff
    Customer Support

    Hi there,

    Try this CSS:

    body .inside-page-header {
        line-height: 0;
    }

    Adding CSS: https://docs.generatepress.com/article/adding-css/

    #510135
    Marcus

    Perfect! πŸ™‚

    Thank you Leo!

    #510249
    Leo
    Staff
    Customer Support

    No problem πŸ™‚

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.