WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Comments divider (2 posts)

  1. Jimmy
    Member
    Posted 7 years ago #

    I want to change the comment divider, so they look more like posts on my homepage.

    Instead of a border which I am using now, I want to have a transparent space between every comment, this way it would look more like when I write posts.

    How to do this?

    Look at my guestbook and see what I mean:

    http://www.jayem.se/the-guestbook/

  2. nadglobtrotter
    Member
    Posted 7 years ago #

    Hello Jayem,

    You need to change the style of the list of comments.
    In your WP admin panel, go to Presentation>Theme Editor, and in the menu on the right click on "Stylesheet".
    In this document, find the following :

    ol#commentlist li {
    border-color:#CCCCCC;
    border-style:solid;
    border-width:0px 0px 1px;
    margin:10px;
    }

    and replace it with :

    ol#commentlist li {
    border: none;
    margin:10px 10px 40px 10px;
    }

    In clear, you remove the border and you change the bottom margin (40px). You can play with this number in order to find the width of space that you like. The numbers in margin are respectively for top right bottom left.

    Don't forget to save the changes.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags