• Resolved jshariar

    (@jshariar)


    I wrote this..
    <?php wp_nav_menu (array ( 'conaitner_class' => 'main-nav','container' => 'nav'));?>

    but.. WordPress displays this code as

    class="menu-main-nav-container"

    The class is supposed to be .nav-conainer but wordpress adds “menu-main-“ infront of it

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Whats wrong with this code>’ is closed to new replies.