The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Display proper css for nav bar (1 post)

  1. NordSud
    Posted 5 years ago #

    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.]

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.