Support » Fixing WordPress » Space between my posts

Viewing 6 replies - 1 through 6 (of 6 total)
  • I have tried sticking in .post and setting a margin/padding, but that didn’t work. Any help would be really appreciated.

    in your style.css file, go to line 35 in the H2 section and add this:

    margin-top: 15px;

    so it looks like:

    h2 {
        font-size: 16px;
        margin-top: 15px;
        padding-bottom: 10px;
    }

    you can play around with the 15 number and get it where you want it. you can even throw in :

    border-top: 1px solid;

    to give it a nice line between each post.

    You are an absolute ledge! Ben racking my brains about this!

    Many thanks! 🙂

    you’re very welcome! I suggest doing a google search for ‘css margin’ or ‘css borders’, you’ll find all sorts of interesting combinations out there.

    Ok thanks for the tip. I usually have a decent understanding of padding/margin..but I think my CSS is a bit untidy here with too much needless info so I got a bit muddled as to what did what and what class and id belonged to each div!

    ah well, if you know what to punch in, but not where, then I suggest firebug for Firefox or Chrome by google, all you have to do is right click on the place that you’re wanting to edit and it’ll show you what’s doing what, and you can do live (but local!) edits to see how it’ll look.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Space between my posts’ is closed to new replies.