[resolved] How to get rid of lines running at the footer of the page? (5 posts)

  1. Loulee
    Posted 3 years ago #

    I see that this area is class"comments-area" but I am not sure how I turn it off. It can be seen on http://www.spiderwebby.com 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.

  2. Michael
    Forum Moderator
    Posted 3 years ago #

    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;}
  3. Loulee
    Posted 3 years ago #

    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.

  4. Michael
    Forum Moderator
    Posted 3 years ago #

    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( __( 'http://wordpress.org/', '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)

  5. Loulee
    Posted 3 years ago #

    Thank you alchymyth, worked perfectly.

Topic Closed

This topic has been closed to new replies.

About this Topic