Support » Themes and Templates » Can't change color of secondary menu

  • I created a secondary menu and when I change the CSS, it changes both primary and secondary menu color (Im clueless with CSS).

    function secondary_menu() {?>
    
    <div id="sec_nav_area" class="full_width">
    <div class="page">
    <?php
    wp_nav_menu( array( 'container_class' => 'secondary_menu', 'theme_location' => 'secondary' ) );
    ?>
    </div>
    
    </div>
    <?php
    
    }
    add_action('thesis_hook_before_content_area','secondary_menu');

    This CSS will change both (but I only want the secondary to change:

    .custom .menu, .menu a, .menu li ul {
    background:#cf3443;
    }

    This CSS only effects outer width:

    .custom #sec_nav_area, .custom #sec_nav_area li ul{background-color: #64a9be !important; border: 0; }

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Can't change color of secondary menu’ is closed to new replies.