WordPress.org

Ready to get started?Download WordPress

Forums

Problem with separate line under article - css (9 posts)

  1. Patrik312
    Member
    Posted 6 years ago #

    http://www.thepartysniper.com
    I have a problem that I need each comment to be separated from others by a line, which I have also in CSS already set. But the point is that the line is shown only under the first comment.. Can you please help me?

  2. Jeremy Clark
    Moderator
    Posted 6 years ago #

    Right now the border is only under the alternating comments. You need to look for this code

    .commentlist li {
    margin-bottom:0.5em;
    padding:0.5em 1em;
    }

    and add border-bottom:1px dotted #FF99FF; to the bottom of that.

    It should be this

    .commentlist li {
    margin-bottom:0.5em;
    padding:0.5em 1em;
    border-bottom:1px dotted #FF99FF;
    }
  3. drewactual
    Member
    Posted 6 years ago #

    maybe easier:

    .commentsblock{
    margin:0.5em;
    padding:1em;
    font-size:1.1em;
    border-bottom:1px dotted red;
    }

    just add that one line to .commentsblock and set the color

  4. Patrik312
    Member
    Posted 6 years ago #

    Thank you.

  5. Jeremy Clark
    Moderator
    Posted 6 years ago #

    drewactual that will not accomplish what the OP wanted, all your code does is add a line to the very bottom of the comment section. Mine adds a line to the bottom of every comment. Firebug for firefox is a really good extension, for things like this.

    Patrik312 go ahead and try my advice, I think that what you want.

  6. Patrik312
    Member
    Posted 6 years ago #

    Thanx it is work in comment but I need it also under all posts...

  7. Jeremy Clark
    Moderator
    Posted 6 years ago #

    Ok then what drewactual suggested will work. That's just not what you said the first time.

  8. Patrik312
    Member
    Posted 6 years ago #

    Thank you now it's work.

  9. charlesvaneeden
    Member
    Posted 6 years ago #

    please assist.!!

    which css file are you referring to? please give path and name of file.

    i would like to have the line not only below each comment but also below posts!!!

    i see number of comments referring to files to which canges can be made but seldom the name and file path

    so please assist

    kind regards
    charles

Topic Closed

This topic has been closed to new replies.

About this Topic