WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] [Theme TwentyEleven] Disabling dropdown (3 posts)

  1. johnmoody
    Member
    Posted 1 year ago #

    I know I can do this with a custom menu in my sidebar without coding (and I've done that). What I want to do is disable the dropdown showing sub-pages in the Horizontal Menu in the header under the image.

    My site is here

    What do I need to add to my child theme? If so, what? Or is there a way of making my pages subpages of a page that doesn't appear in the menu?

  2. Andrew Nevins
    Barrel Rider, Spam Zapper & Volunteer Moderator
    Posted 1 year ago #

    You could do it the CSS way;

    #access ul li:hover > ul {
     left: -9999em;
    }
  3. johnmoody
    Member
    Posted 1 year ago #

    Andrew - Thanks for that. I wasn't sure where to put that, but I found a simple answer.... I created a dummy page with a blank title and put my pages I didn't want to appear on the menu as children of that.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags