Forums

Remove horizontal line on page when using sidebar template (7 posts)

  1. sunyata7777
    Member
    Posted 5 months ago #

    Hi everyone,

    I looked but couldn't find any threads on this. There is a gray horizontal line at the bottom of my page and it only occurs when using the sidebar template. I want to get rid of it, but can't find the corresponding code. Not even quite sure if it's in style.css or not.

    The page is here: http://sunyatawellness.com/wordpress/

    I am using WP 3.3 and Twenty Eleven. I have created a child theme.

    Thanks ahead of time.

  2. justingreerbbi
    Member
    Posted 5 months ago #

    Style.css line 2227 delete border-top element

  3. sunyata7777
    Member
    Posted 5 months ago #

    Thanks for your response, but that's not what I was looking for. (Although I want to change the footer at some point, so I will need that!). I should have been more clear. I want to get ride of the horizontal line that appears right under the "Edit" button.

    http://sunyatawellness.com/wordpress/

  4. alchymyth
    The Sweeper
    Posted 5 months ago #

    .hentry, .no-results { border-bottom: none; }

    for these kind of formatting problems, please try to work with a web tool such as Firebug, to identify the involved css selectors.

  5. sunyata7777
    Member
    Posted 5 months ago #

    Thanks alchymyth! Worked perfectly. But I didn't think ahead that it would erase the line from every page. How would I go about erasing it from only the home page?

    Definitely still a n00b. Appreciate your help!

  6. alchymyth
    The Sweeper
    Posted 5 months ago #

    the home page has the body_class of .home - therefore you can use:

    .home .hentry, .home .no-results { border-bottom: none; }

  7. sunyata7777
    Member
    Posted 5 months ago #

    Great! Worked just like I needed. Thanks so much for your help.

Reply

You must log in to post.

About this Topic