WordPress.org

Support

Support » Themes and Templates » Problem with separate line under article – css

Problem with separate line under article – css

  • Patrik312

    @patrik312

    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?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Jeremy Clark

    @jeremyclark13

    Member

    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;
    }
    drewactual

    @drewactual

    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

    Patrik312

    @patrik312

    Thank you.

    Jeremy Clark

    @jeremyclark13

    Member

    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.

    Patrik312

    @patrik312

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

    Jeremy Clark

    @jeremyclark13

    Member

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

    Patrik312

    @patrik312

    Thank you now it’s work.

    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

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Problem with separate line under article – css’ is closed to new replies.
Skip to toolbar