Sam
(@soumendra)
Hello Jiks,
You can try this in your Custom CSS for achieving that:
.collapse ul li a:hover {
background-color: #004f77 !important;
color: #fff !important;
}
Thank you.
Thread Starter
Jiks
(@jiks)
Hello,
Thank you so much, that’s exactly what I wanted!
Do you know if it’s possible to retain the same layout when the menu is selected? Displaying the same result for both selected and hovered.
Thanks again. π
Sam
(@soumendra)
Hello Jiks,
You need to try this for achieving that:
.current-menu-item a {
background-color: #004f77 !important;
color: #fff !important;
}
Thank you.
Thread Starter
Jiks
(@jiks)
Hello,
Thanks again for your help! All the best to you. π
Sam
(@soumendra)
Pleasure to help you. π
Thread Starter
Jiks
(@jiks)
Hello,
I created a sub-menu under “Blog” as an example. Do you know how I can style all the sub-menus to match the appearance of the menus? Right now they appear with white background and the text color is not white…
Thanks again π
Sam
(@soumendra)
Hello Jiks,
You have to try this in your Custom CSS for the sub-menu:
.dropdown-menu li a {
background-color: #003c54;
color: #fff;
}
Thank you.
Thread Starter
Jiks
(@jiks)
Hello Sam,
Thanks again for your help. π
Regards
Sam
(@soumendra)
Pleasure to help you. π
Thread Starter
Jiks
(@jiks)
Hello π
I posted this today here, don’t know if you know how to deal with this issue, as I think it’s not CSS related, any thoughts? Cannot fix it. π
https://wordpress.org/support/topic/textbox-width-problem?replies=1