Support » Themes and Templates » Strange horizontal line on Twenty Eleven pages

  • Resolved deathmoth

    (@deathmoth)


    Hi folks.

    Can anyone please help me erradicate this annoying horizontal bar from certain pages on my page. http://thematadormusic.com/home

    It appears on several of the pages, seemingly randomly, i don’t want it at all.

    I assumed it may be a border or something? but can’t really work it out

    Thanks 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • The following rule sets exist in your style.css file.

    line 699

    .hentry,
    .no-results {
        border-bottom: 1px solid #ddd;
        margin: 0 0 1.625em;
        padding: 0 0 1.625em;
        position: relative;
    }

    line 2184

    #supplementary {
        border-top: 1px solid #ddd;
        padding: 1.625em 7.6%;
        overflow: hidden;
    }

    The first relates to the line at the bottom of posts while the second is at the top of the footer.

    Try removing the border-bottom and/or border-top declarations and see if that gives you the desired effect.

    In your style.css file, look for this code:

    .hentry, .no-results {
        border-bottom: 1px solid #DDDDDD;
        margin: 0 0 1.625em;
        padding: 0 0 1.625em;
        position: relative;
    }

    and erase border-bottom: 1px solid #DDDDDD;

    Thread Starter deathmoth

    (@deathmoth)

    thanks so much. i’m working with a child theme, as a bit of a noob, do i have have to just copy those rule sets into my child theme and edit them?

    Thread Starter deathmoth

    (@deathmoth)

    scrap that. i got it.

    i just pasted that rule in and made border-bottom: 0px

    🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Strange horizontal line on Twenty Eleven pages’ is closed to new replies.