I coded background image and color for the sidebar category in wordpress.
I set background image for sub-menu for the category
.sub-menu li.menu-item-object-category {
background: url("http://www.example.com/dev/123/wp-content/uploads/2014/04/list_style.png") no-repeat scroll left center transparent;
}
here i set active current menu item highlight color as bakground
.menu-item-object-category.current-menu-item {
background: none repeat scroll 0% 0% rgb(234, 234, 234);
}
Here both are not supported same time if the background image removed means background color activate, if background color removed means background color activate. I want to activate both.
Help to solve this.
.sub-menuinstead of.menu-item-object-categorycheck the Demo. jsbin.com/pefodoti/1/edit - Kheema Pandey