Support » Plugins » Display proper css for nav bar

  • Hello i’m having trouble to display the right css for my nav bar… using the php fonction

    Here is my fonction in the fonction.php

    function register_my_menus() {
        array('header-menu' => __( 'Nav' ) )
    add_action( 'init', 'register_my_menus' )

    here is my code where i want the nav bar

    <?php wp_nav_menu( array( 'Nav' => 'header-menu' ) ); ?>

    and this is the nav bar that i want..

    [Code moderated as per the Forum Rules. Please use the pastebin for code blocks longer than 10 lines. Post smaller code blocks in-between backticks.]

  • The topic ‘Display proper css for nav bar’ is closed to new replies.