WordPress.org

Support

Support » How-To and Troubleshooting » Get rid of hr code in sidebar

Get rid of hr code in sidebar

  • 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

Viewing 1 replies (of 1 total)
  • elDeuce

    @eldeuce

    do
    hr { display:none }
    in your css

    or take the hr code out of your sidebar

Viewing 1 replies (of 1 total)
  • The topic ‘Get rid of hr code in sidebar’ is closed to new replies.
Skip to toolbar