Support » Fixing WordPress » How to get rid of lines running at the footer of the page?

  • Resolved Loulee


    I see that this area is class”comments-area” but I am not sure how I turn it off. It can be seen on Home page. Also I was wanting to put text in the footer without an underline? If someone can steer me in the right direction I will be very grateful.

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


    Forum Moderator

    to remove the lines –

    the double line near the bottom:

    .site-content article {
    	border-bottom: none;

    the single line above the footer:

    /* Footer */
    footer[role="contentinfo"] {
    	border-top: none;

    the text underline is possibly because the text is linked;

    try and add to style.css of the child theme:

    footer a {text-decoration: none;}

    Thank you so much alchymyth, this took the lines off perfectly. The footer a text decoration was already on none. I don’t mind the link that is there, it is that I wanted to add more text in this area, but am not sure how. Thanks for your help.



    Forum Moderator

    The footer … add more text in this area

    two possibilities:

    edit (a copy of) footer.php in your child theme,
    and either replace this section or add the new text before or after it:

    <a href="<?php echo esc_url( __( '', 'twentytwelve' ) ); ?>" title="<?php esc_attr_e( 'Semantic Personal Publishing Platform', 'twentytwelve' ); ?>"><?php printf( __( 'Proudly powered by %s', 'twentytwelve' ), 'WordPress' ); ?></a>

    if you add your own text after it, you might want to use a new div for formatting reasons (see below);

    or add a new div with your text after </div><!-- .site-info -->;


    <div class="footer-text">your text here</div>

    or alternatively edit functions.php and add something like:

    function custom_footer_text() {
    echo '<div class="footer-text">';
    echo 'your text here';
    echo '</div>';

    (all with slightly different effects on the formatting)

    Thank you alchymyth, worked perfectly.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to get rid of lines running at the footer of the page?’ is closed to new replies.