Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter mistaken

    (@mistaken)

    if any one else ever needs this answered

    find this line in the ‘templates-tags.php’

    in the ‘bento_primary_menu’ function

    <div id=”nav-primary” class=”nav”>

    remove the ‘nav-primary’ id, this appears to be how the location of the menu is controlled. now you can use a class or other id to style to your own needs.

    Thread Starter mistaken

    (@mistaken)

    Thank you. . .

    now i am even more lost than i was before. I expected to go to this location and find html and maybe some controlling php for deciding which type of menu layout had been selected from the customize settings.

    instead i find

    wp_nav_menu(

    array(

    ‘theme_location’ => ‘primary-menu’,

    ‘depth’ => $depth,

    ‘menu_class’ => ‘primary-menu’,

    ‘container_class’ => ‘menu-container’,

    ‘link_before’ => ‘<span class=”menu-item-inner”>’,

    ‘link_after’ => ‘</span>’,

    ‘fallback_cb’ => ‘false’,

    )

    inside a id=nav-primary. I am guessing that some of those variables are are loading from settings pulled in from some where else.

    can you give me a clue where/how i might look either add or modify where the existing location is.

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