Tagged: CSS, secondary menu, top. header
Hi,
We would like to remove the underline effect on the header secondary menu and I added this code which partially solved it:
/* Secondary header menu styling */
.sub_menu>ul>li>a, .sub_menu>div>ul>li>a {
font-weight: normal; text-decoration: none;
}
.sub_menu li.current-menu-item > a {
font-weight: bold; text-decoration: none!important;
}
.sub_menu li.current-menu-item > a,.sub_menu a:hover {
color: white!important;
font-weight: bold;
text-decoration: none!important;
}
If mouse is over the link / font itself, it works fine, but in the gap between the links it is not and the underline is still showing.
Can you please check the website in private and tell me what code am I missing here?
Thank you
Hi sitesme!
I believe this was resolved – https://kriesi.at/support/topic/google-translator-on-secondary-menu/#post-573809
Could you please confirm so we can mark the thread as resolved or assist you further? :)
Best regards,
Yigit
Hi Yigit,
Exactly! The solution was with the following code provided by you in another post (in case someone else needs this):
.sub_menu>ul>li>a, .sub_menu>div>ul>li>a {
text-decoration: none!important;
}
Many thanks once again