Reduce white space around blog title and header image

  • Author
    Posts
  • #3435637

    micheleorti
    Member

    Hi everyone,
    I’d like to reduce the white space over the blog title, between the blog title and the header image, and under the header image
    Any suggestion for the right CSS code?
    Thanks a lot

    https://nepente.net

    The blog I need help with is nepente.net.

    #3435732

    macmanx
    Staff

    Hm, I’m not sure I see what you mean at https://nepente.net/

    Do you mean just tighten up the vertical space above and below that flower logo?

    #3435744

    micheleorti
    Member

    Hi, yes, exactly, I’d like to have less white space there, and above the blog title as well

    #3435753

    macmanx
    Staff

    Ok, via Custom CSS https://en.support.wordpress.com/custom-design/custom-css/ add this:

    #header-image {
        margin-bottom: 1.5em;
    }
    #masthead > .site-branding {
        padding: 5.4em 16.867469879518% 1.5em;
    }

    and, adjust as desired. In both cases, it’s the 1.5em you’re adjusting, don’t touch the other padding values. :)

    #3435770

    micheleorti
    Member

    Thank you so much macmanx, now it’s fine :)

The topic ‘Reduce white space around blog title and header image’ is closed to new replies.