The underline (border-bottom) only shows when hovering one of the submenu pages under ‘Onze service’ when you are on one of those pages.
Can you give me the CSS class to edit this or overwrite the current css for the submenu?
/*CSS*/
.current-menu-item .avia-menu-text {
color: white;
border-bottom: solid 1px #ffffff;
display: inline;
padding-bottom: 10px;
font-weight: bold;
opacity: 1;
}
View 1:
View 2: with the underline that shouldn’t be there:
Hey Boeckske23,
I have tried to check the link you posted in private content, however it’s returning:
Forbidden
You don't have permission to access / on this server.
Best regards,
Nikko
Go to here:
Hi,
Thanks, try adding this css code in Quick CSS:
#top #avia-menu > li:hover > a > .avia-menu-text {
color: white;
border-bottom: solid 1px #ffffff;
display: inline;
padding-bottom: 10px;
opacity: 1;
}
Hope it helps :)
Best regards,
Nikko
I think it doesn’t work
But what I find strange if I open the customizer, I see this:
The CSS is not the same for some reason.
But if it could be like this I would be satisfied.
When I close the customizer
Hi,
Please remove the code I gave, since I misunderstood it, then replace this code you have since it’s causing the issue:
.current-menu-item .avia-menu-text {
color: white;
border-bottom: solid 1px #ffffff;
display: inline;
padding-bottom: 10px;
font-weight: bold;
opacity: 1;
}
And replace it with:
#header #avia-menu > .current-menu-item > a > .avia-menu-text {
color: white;
border-bottom: solid 1px #ffffff;
display: inline;
padding-bottom: 10px;
font-weight: bold;
opacity: 1;
}
this should only target the current-menu-item that is not in a sub menu.
Best regards,
Nikko