Support » Fixing WordPress » Footer moved after editing Comments.php

  • Resolved mindkil

    (@mindkil)


    While editing the Comments.php and styles.css to position it’s elements more to the center (I’m using a no widget-one space template that looked awful on the comments page, everything was stretched to the full width), somehow the footer also moved to this margin setting.

    – How could I reset the footer to it’s normal position, like on the other pages?
    – Also, I would like to separate the comment boxes more, to have a bit of empty space between the individual comments. For some reason the last comment-box shows a double line (I put a red border-bottom between them), this would be also nicer in usual one-line
    – the first sub-Title of the comments “2 Hozzászólás” stands out more to the bottom than I would need, how could I put it more closer to the title?

    This is the link:
    http://www.baksagaspar.com/hun/interaktiv

Viewing 4 replies - 1 through 4 (of 4 total)
  • esmi

    (@esmi)

    Start by sorting out the validation errors on the page. You’re missing at least one closing </div> tag. Then move onto the CSS errors.

    Thread Starter mindkil

    (@mindkil)

    Thanks esmi, inserting two closing </div> tags in comments.php did solve the problem!

    But one problem still remains:
    – I would like to separate the comment boxes more, to have a bit of empty space between the individual comments.
    – for some reason the last comment-box shows a double line (I put a red border-bottom between them), this would be also nicer in usual one-line

    esmi

    (@esmi)

    1. Try changing:

    commentlist, .commentlist li {
    background:#7F7F7F url("http://www.baksagaspar.com/hun/wp-content/hatterminta.jpg") 0 0 ;
    border-bottom:2px solid #B80000;
    }

    to:

    commentlist, .commentlist li {
    background:#7F7F7F url("http://www.baksagaspar.com/hun/wp-content/hatterminta.jpg") 0 0 ;
    }
    .commentlist li {border-bottom:2px solid #B80000;}

    in style.css

    Thread Starter mindkil

    (@mindkil)

    That’s it!! Thank you again!

    Cheers

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Footer moved after editing Comments.php’ is closed to new replies.