WordPress.org

Ready to get started?Download WordPress

Forums

Get rid of hr code in sidebar (2 posts)

  1. trabar
    Member
    Posted 6 years ago #

    I searched and found how to add hr line to put between my posts. By going into the Main Index Page I put this:

    <p class="postmetadata">Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit', '', ' | '); ?> <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?></p><hr />

    That's just fine but it does a very bland line. So I went into the Stylesheet and changed the hr to show display: solid; color: #ff0000;

    Looked great except it also added a red hr line at the end of my side bar which I didn't like.

    So my question -- how do I make the sidebar hr line not show?

    Judith

  2. elDeuce
    Member
    Posted 6 years ago #

    do
    hr { display:none }
    in your css

    or take the hr code out of your sidebar

Topic Closed

This topic has been closed to new replies.

About this Topic