WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. Loulee
    Member
    Posted 1 year 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. alchymyth
    The Sweeper & Moderator
    Posted 1 year 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
    Member
    Posted 1 year 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. alchymyth
    The Sweeper & Moderator
    Posted 1 year 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 -->;

    example:

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

    or alternatively edit functions.php and add something like:

    add_action('twentytwelve_credits','custom_footer_text');
    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
    Member
    Posted 1 year ago #

    Thank you alchymyth, worked perfectly.

Topic Closed

This topic has been closed to new replies.

About this Topic