• Resolved multiformeingegno

    (@lorenzone92)


    Hi! I’m using a child theme of TwentyEleven (here is the link: virgilio.lorenzoraffio DOT com).

    I’d like to remove the border-bottom: 1px solid #DDDDDD set for the content of the pages because it’s ugly and there’s already another line under it…
    The problem is that the class .hentry, .no-results is used for many other things and I can’t just remove the border-bottom attribute because for example in search results the pages would be without separation line…

    Can you help me? Thanks in advance!! 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • Use the body attributes to style different looks for .hentry…

    body.page .hentry, .noresults {
        border:none;
    }

    If you are on a page, your body has the class “page” and if you’re on a search result there’s no “page” in the body class. You can use that to apply different styles.

    May I ask which plugin (if so) you use to make the main menu items unlinked? Only the dropdown menus are links, the top level pages are not… how??? I know there’s a plugin to do that. Just curious how you did it.

    Anja

    Thread Starter multiformeingegno

    (@lorenzone92)

    Thanks Anja!! It works! 🙂
    For the menu items unlinked, it’s way simpler! 😀 I just created a custom link in the menu with a dummy url (for example http://*) and saved. Then I edited it removing http://* (so leaving the url box blank) and saved again. Done! 😛

    Wow! Extra smart! Thanx!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘border-bottom & pages’ is closed to new replies.