• I’m looking to close the gap between a post’s second-level heading (in my case, all the metadata plus the date) and the post’s content. I’ve tried taking out the <div> tags, <p> tags, and line breaks, but I guess because of the php, there’s still a gap.

    What I have now:
    =======================================
    POST TITLE
    march 12, 2005

    lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum
    =======================================
    What I would like:
    POST TITLE
    march 12, 2005
    lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum
    =======================================

Viewing 3 replies - 1 through 3 (of 3 total)
  • if you need help with a style issue its always nice to provide a link to something we can see.

    I assume you’re doing this via index.php. If so, whitespace can make a difference. Don’t leave any space in between the php comments. So, make sure it’s not:

    < code > <code>

    That it’s:

    <code><code>

    This has worked for me.

    `

    The date is displayed in the class .meta so you would want to remove padding and margins from .meta in your stylesheet. At least remove the top and bottom margins and padding.

    If you use the Fire Fox browser, grab their developer tools. It lets you edit CSS on the fly and highlights divisions (IDs and Classes) so you can get an idea what you need to tweak and where it is.

    HTH.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Closing gap between post date and post content’ is closed to new replies.