WordPress.org

Ready to get started?Download WordPress

Forums

The Bootstrap
No main nav displaying (2 posts)

  1. ljkeashly
    Member
    Posted 1 year ago #

    Hi,

    I have 2.0.1 of the-bootstrap installed on my 3.5.1 wordpress site. The problem is that I don't get any nav menu items displaying unless I create a specific menu and set it as the Primary Navigation. I want to use WordPress's inherent menu as my main navigation. I don't want to have to create a menu, clients don't want to have to add pages to menus, they just want the page to show up on the menu.

    Is there a way to get the-bootstrap to use the inherent WordPress menu instead of having to setup a menu? Unless you setup a menu, you don't get the Theme Locations sidebar widget in the Menu area. So, it looks like it should be using the inherent menu.

    Thank you.

  2. jmjf
    Member
    Posted 1 year ago #

    Well, I see what you say happening when I turn off my custom nav menu in the customizer.

    There are some problems with enabling what you say you want. WordPress's default menus rely on the page hierarchy and (critical point) include links to parent pages on the menu items for those pages. That means when you touch/click on a menu item with children, you'll go to the page instead of expanding the submenu of children. In a non-touch environment, you can use hover to drop menus, but there is no hover in a touch environment. Alternatively, you could write custom code to build the menu, but then you don't have links to the parents in your page hierarchy.

    Note, some WP users have worked around this and enabled hover instead of click, but that breaks their menus on touch devices. But if you're going to break on touch devices, why bother with a responsive theme? It's almost impossible to find a non-touch screen <1024px, so if you're going to break on phones and tablets anyway, use a fixed 940px or 960px layout.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.