Ready to get started?Download WordPress


Twenty Twelve
[resolved] only show subitems in menu of twenty twelve (3 posts)

  1. Willem 2
    Posted 5 months ago #

    I have a page with the title 'video' in the navigation bar of twenty twelve. This page has different subpages (subitems).

    See: http://www.column-razenberg.nl

    I will only offer the possibility for the visitors to select the subitems, not the page 'video'. The title 'video'must stay in the navigation bar.

    Does anybody know a solution for this?


  2. CrouchingBruin
    Posted 5 months ago #

    1. Go to Appearance > Menus from the admin dashboard.
    2. Scroll down and expand the Links section on the left.
    3. For the URL, just put in #, nothing else. For Link text, put in Video.
    4. Click the Add to Menu button, then drag & drop the new menu item on the right to where the existing Video menu item is.
    5. Drag & drop the sub menu items from the old Video menu item to the new Video menu item.
    6. Delete the old Video menu item.
    7. Click the Save Menu button.

    When users click on the Video menu item, nothing will happen, but the submenu items will still work.

    If you really want to get fancy, inspect the menu item with a web debugging tool like Firebug or Chrome Developer Tools, find out the ID of the new menu item, then add some CSS to prevent the cursor from turning into a hand pointer on hover.

  3. Willem 2
    Posted 5 months ago #

    Thank you Croughin Bruin, it works!



You must log in to post.

About this Theme

About this Topic