Menu background color
Posted: 24 Mar 2018, 05:48
Hi,
I'm using the below modification in Custom CSS for all of the menu, when they are actives.
body[class*='topbar'] .menu>li>a.active {
background: #455e25 !important;
color: gold !important;
}
Now I want to use another background color (transparent) only for the index page. The idea is duplicate it and modify as below (maybe with my-index-page) and connect it only to the index page.
.my-index-page body[class*='topbar'] .menu>li>a.active {
background: transparent !important;
color: gold !important;
}
Can somebody support and tell me how to approach the modification and how to connect to the page?
Thank you in advance for any support.
Regards,
Claudio
I'm using the below modification in Custom CSS for all of the menu, when they are actives.
body[class*='topbar'] .menu>li>a.active {
background: #455e25 !important;
color: gold !important;
}
Now I want to use another background color (transparent) only for the index page. The idea is duplicate it and modify as below (maybe with my-index-page) and connect it only to the index page.
.my-index-page body[class*='topbar'] .menu>li>a.active {
background: transparent !important;
color: gold !important;
}
Can somebody support and tell me how to approach the modification and how to connect to the page?
Thank you in advance for any support.
Regards,
Claudio