• Hi ,

    On my page, http://www.getpeppered.com, I’ve added a title and text but I don’t know how to create a space between the two. Do I need to add something to my CSS?

    A second questions I have: on my blog page it shows excerpts of my blog and I would like the excerpt to show a picture. How do I do that?

    Thanks much! Femke

Viewing 3 replies - 1 through 3 (of 3 total)
  • You have some mark-up and CSS errors, so start by cleaning those up — see Validating a Site.

    Your post is in a div with no top margin — hence no space. You can add a top margin — to this CSS code.

    .post {
        margin-bottom: 50px;
    }

    Was that site made using ThemePress?

    Thread Starter getpeppered

    (@getpeppered)

    Hi WPyogi,

    Thanks, I have tried to add this to the CSS code, but it didn’t work. I added it at the bottom of the page.

    Is there anything else I can try?

    Thanks!

    You need to add margin-top — that’s what I said. All you did was duplicate what was already there. Sorry if I was not clear enough — try again.

    Delete what you added

    Find the existing code (that I copied above) it’s on line 166 in the style.css file.

    Change it so it looks like this:

    .post {
        margin-bottom: 50px;
        margin-top: 20px;
    }

    You might have to adjust the 20px if the spacing is not what you want.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Space between Title and Text on Pages’ is closed to new replies.