M
M
magomedov10092015-11-20 16:44:00
Working with color
magomedov1009, 2015-11-20 16:44:00

How to change navbra background?

here is a piece of code and an example of the site megasite05.ru I can’t change the background color for the navbra in any way, nothing changes in the styles. help me fix it somehow I need a green color and it is white.

<div class="navbar">
          <div class="navbar-inner">
            <?php
          if ( function_exists( 'wp_nav_menu' ) )
              wp_nav_menu( 
                array( 
                'theme_location' => 'custom-menu',
                'fallback_cb'=> 'custom_menu',
                'container' => 'ul',
                'menu_id' => 'nav',
                'menu_class' => 'nav') 
          );
          else custom_menu();
        ?>
          </div>
        </div>

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman, 2015-11-20
@magomedov1009

The color is assigned to the navbar-inner class
Edit CSS:

.navbar-inner {
background-color: green!important;
background-image: none!important;
border: none!important;
}

Clean up the old styles for this class.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question