Viewing 3 replies - 1 through 3 (of 3 total)
  • In your stylesheet, change this:

    #content h2 {
        font-size:27px;
        margin:5px 0 7px 0;
    }

    To something like:

    #content h2 {
        font-size: 27px;
        margin: 50px 0 20px 0;
        padding-top: 10px;
        border-top: 1px solid #666666;
    }

    Adjust the padding, margin, and border colours/thickeness as you like.

    Just watch out: use a custom stylesheet if your theme offers one, or build a child theme – otherwise beware as your style tweaks will likely be overwritten if you update the theme in future.

    p.s. this is just basic CSS – as a professional web designer you can just use the techniques you must use on other types of sites – WordPress is no different.

    Thread Starter handshake

    (@handshake)

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Adding a divider line and space between homepage posts’ is closed to new replies.