Forum Replies Created

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

    (@spankysherlock)

    Hi

    Thanks for the reply, I am still having trouble though..

    I am guessing in the css file I would add to this..

    .main-navigation {
    margin: 0;
    float: left;
    clear: both;
    width: 100%;
    background: #3e4960;
    position: relative;
    z-index: 1000;
    }

    But not sure where in the header.php would the id part go –

    if(function_exists(‘wp_nav_menu’)) {
    wp_nav_menu( array( ‘theme_location’ => ‘main’, ‘menu_class’ => ‘sf-menu’,’sort_column’ => ‘menu_order’, ‘container_class’ => ‘main-navigation’, ‘fallback_cb’ => ‘display_home’ ) );
    wp_nav_menu( array( ‘theme_location’ => ‘sub’, ‘sort_column’ => ‘menu_order’, ‘container_class’ => ‘sub-navigation’, ‘fallback_cb’ => ‘display_none’ ) );
    } else {
    echo ‘<div class=”main-navigation”><ul class=”sf-menu”>

    • Home
    • Sorry, im learning!

Viewing 1 replies (of 1 total)