Feeling frustrated and in need of assistance with my current issue. I am attempting to make a change - when I click on a tab in the menu, the default black SVG icon should be replaced by a white one.
#menu a .main-menu-icon {
display:inline-block;
width:22px;
height:21px;
line-height:40px;
margin-right:7px;
background: url(/images/digital.svg);
}
__________________________________________________________
#menu .nav-tabs>li>a.menu_digital>.main-menu-icon{
background: url(/images/digital.svg);
}
#menu .nav-tabs>li>a.menu_digital:active>.main-menu-icon {
background: url(/images/digital_white.svg);
}
Currently, the SVG only changes to white when I press and hold directly on it. Once I release the button, even if I am still on the tab's page, the default black SVG reappears.
Your help is greatly appreciated. Have a wonderful day! :)