Change background color of Category dropdown
-
Hey,
is it possible to change the backgroundcolor of the category dropdown and font color?
And how can I add those ribbons to a category?
Thanks
Attachments:
You must be
logged in to view attached files.
Hello,
To change the background color and font color of dropdown menu you can use the below CSS code in global custom CSS are under theme settings >> custom CSS:
.vertical-navigation .item-level-0:hover>a {
background-color: pink;
color:black;
}
.header-categories-nav .categories-menu-dropdown .menu {
background: red;
color:black;
}
Code for further menu dropdowns:
.vertical-navigation .menu-simple-dropdown li a{
background: red;
color:black;
}
.vertical-navigation .menu-simple-dropdown li a:hover{
background: orange;
color:black;
}
To add ribbons you need to edit you menu items in Wp-Bakery with html blocks, from the “Label text (optional)” field inside extra menu list element settings, you will be able to add any ribbon.
Best Regards.
Hello there,
i am trying to add the above code to the global css code to my site plus i have tried changing the values according to my site’s code but i am unable to change background of dropdown menu on hover. i am attaching the link for old site and new site
link of old site hover:
https://jmp.sh/Aik4uyY
and below are the screenshot for the new site
Attachments:
You must be
logged in to view attached files.
Hello,
@arifan93 Please create a new topic and provide the admin panel login details of the website.
Best Regards