Custom menu?

  • Author
    Posts
  • #24680
    Patrick

    How would one over ride the primary nav bar to put in place a different custom menu? I know this can be done on many other themes by calling the new menu in some PHP or CSS but I can’t seem to do so anywhere.

    #24688
    Jim

    Hi Patrick

    Within the Menus area you can create a custom menu, with the particular pages you want. Then at the top there is an option to Manage Locations which generally means your new menu can be added either into the Top Bar, as the Primary Nav menu or into the Footer or all three!. There is also a widget where you can add the Menu in as a sidebar, if you are using them.

    I hope this helps

    Jim…

    #24773
    Jason

    How do you make the navigation on the top open a site in another window. _blank

    How do i make the pro slideshow arrows darker?

    Thank you for your help.

    #24905
    undra

    I created two menus and added custom code to my header.php to open either menu based on if the user is logged in or not. But when i added the custom code, it changed the format of my navigation making the buttons smaller. I want to still use the format of the original theme settings, but can’t figure out how. Here is the section of code that i added to my header.php below:

    <nav id=”access” role=”navigation”>

    <?php
    if( is_user_logged_in() ) {
    $menu = ‘logged-in’;
    } else {
    $menu = ‘logged-out’;
    }
    wp_nav_menu( array( ‘menu’ => $menu, ‘container_class’ => ‘menu-header’, ‘theme_location’ => ‘primary’ ) );
    ?>

    </nav><!– #access –>

    I have tried all sorts of things with thew style.css file, but nothing seems to work. Can someone direct me in what i need to do to make this work

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Custom menu?’ is closed to new replies.