[Resolved] Reducing spacing between page header and content

Home Forums Support [Resolved] Reducing spacing between page header and content

Home Forums Support Reducing spacing between page header and content

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #520836
    John

    Hi,

    I’m wondering if there’s anyway to reduce the gap between my page header image and the main content.

    I have a page header globally assigned to all pages with 40% Top and Bottom padding, but would like to reduce the bottom space without affecting my header image (shrinking it) – which is what happens when I try and do it with CSS. Is there an alternate way to reduce this spacing?

    Thanks

    Scottmac

    GeneratePress 2.0.2
    GP Premium 1.5.6
    #521114
    Leo
    Staff
    Customer Support

    Hi there,

    Give this CSS a shot:

    @media (min-width:769px) {
        .container.grid-container {
            margin-top: -20px;
        }
    }
    #521335
    John

    Thanks Leo,

    That did the trick 🙂

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