This topic has 6 replies, 2 voices, and was last updated 7 years, 7 months ago ago by Olga Barlow
hello, in a category with children, how do i change the colour of the parent category if it has children…
i added this but didnt work:
.tabs .accordion-title.opened-parent::after{
color: #d4af37 !important;
}
Hello,
Try this one
.widget_product_categories.sidebar-widget .cat-parent a {
color: #d7b546;
}
Regards
Hi,
Thanks but that changes ALL he parent category colour – what i need is the parent colour to change and stay changes when clicked like your demo here:
hope i have explained it ok.
Many thanks.
Hello,
Oh, I see, you want to change color for the active category. Then use the following code
.widget_product_categories.sidebar-widget ul li.current-cat > a {
color: #d4af37;
}
Regards
Thank you!
You are welcome!
Regards
You must be logged in to reply to this topic.Log in/Sign up