coky coky - 6 months ago 20
CSS Question

Bootstrap dropdown menu bad styling

I have a problem with styling a dropdown-menu in my website. When I open and close the menu and go away with mouse from the button, the button has bad style. I searched all over the internet, but did not find a solution.

Normal page look like this:

Normal page

After double-click on button and go away with mouse page look like this:

Page after double-click on button

I mean, this will repair some class in CSS, but I dont know which.

Thanks for answer and sorry for my English. I am not from an English speaking country.

Answer

Simply add this CSS so it won't become white anymore

.nav > li > a:focus{
     background:transparent;   
}

Make sure you put it after the Bootstrap CSS

Comments