Change Bootstrap DropDown Submenu color using CSS

Last Reply 9 months ago By dharmendr

Posted 9 months ago

Hi! I used Multi Level Bootstrap DropDown menu with Submenu using HTML and CSS . But now I want some changes when I click menu control institute its color changed it must be like color menu without change. How I can change color hover mouse submenu too?

You are viewing reply posted by: dharmendr 9 months ago.
Posted 9 months ago

Add the below css to change the color.

<style type="text/css">   
    .dropdown-menu > li > a:focus, .dropdown-menu > li > a:hover
    {
        color: Red !important;
    }
    .navbar-default .navbar-nav > .open > a, .navbar-default .navbar-nav > .open > a:focus, .navbar-default .navbar-nav > .open > a:hover
    {
        background-color: #325C94 !important;
    }
</style>