• Hi,
    I’ve been following this thread for customizing the menu on different pages. It works pretty well except my menu is not styled in a widget box like the other sidebar widgets. It’s just plain text in a list. How can I add the class?

Viewing 1 replies (of 1 total)
  • Thread Starter sbaroulette

    (@sbaroulette)

    Btw, here’s what I have in my sidebar.php

    <div id="sidebar">
        <div class="widgets"><ul>  
    
                <?php wp_nav_menu( array( 'fallback_cb' => '', 'container' => 'none',  'container_class' => 'menu-header',  'theme_location' => 'primary', 'menu' => get_post_meta( $post->ID, 'MenuName', true) ) ); ?>
                <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Right Sidebar') ) :  ?>
                <?php endif; ?></ul>
                </div>
        </div>

    Not sure how to incorporate into the dynamic sidebar. Any help?

Viewing 1 replies (of 1 total)
  • The topic ‘Custom Menu on Different Page– No Style!’ is closed to new replies.