• Resolved DLThompson06

    (@dlthompson06)


    Here’s another little ticky-tack issue that I’m having and can’t seem to resolve. I’m sure it’s due to me mucking up the css, but here it is: I would like to remove some of the space between my header image and the first post. Thanks! site: https://www.meandmydiy.com

Viewing 4 replies - 1 through 4 (of 4 total)
  • Try using Firefox with the Firebug add-on for this kind of CSS work.
    https://getfirebug.com/

    Thread Starter DLThompson06

    (@dlthompson06)

    Hi esmi, I’ve been trying that, but with no luck. I just can seem to pinpoint where that space is coming from. It occurs right where it says <div id=”main”>.

    If you look at the styles for that div — there is padding which is creating the space.

    Thread Starter DLThompson06

    (@dlthompson06)

    Okay, I found a line with padding:

    #main {
    clear: both;
    padding: 1.625em 0 0;
    }

    and I changed it to:

    #main {
    clear: both;
    /* padding: 1.625em 0 0; (original) */
    padding: 0 0 0 0;
    }

    and it seems to have done the trick. Incidentally, I’ve started commenting out the original code because I tend to mess things up sometimes. Thanks for your help!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Remove space between header and first post’ is closed to new replies.