The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS WordPress menu styling troubles :( Reply To: WordPress menu styling troubles :(


Firstly, when the sidebar options are ‘clicked/opened’ they get a class of active added

<li class="page_item page-item-365 page_item_has_children active">

but I cannot see that an active class has been defined.
So, perhaps

#nav_menu-2 a:hover { /* line 4975 */
  color: #FFFFFF !important;
  background: #5E9FC2;

could be:

#nav_menu-2 >,
#nav_menu-2 a:hover { 
  color: #FFFFFF !important;
  background: #5E9FC2;