Hello!
I modified the main nav bar to get animated underlined links, but now whenever i go on mobile, the mobile button becomes underlined and so do menu items, on desktop, the logo also draws an underline on top, here is the code I wrote.
.x-navbar .desktop .x-nav > li > a:hover > span, .x-navbar .desktop .x-nav > li.x-active > a > span, .x-navbar .desktop .x-nav > li.current-menu-item > a > span {
box-shadow: none !important;
}
.x-navbar
a {
text-decoration: none;
position: relative;
color: black !important;
}
.x-navbar
a:after {
content: āā;
position: absolute;
bottom: 30px;
left: 0px;
width: 0%;
border-bottom: 2px solid black;
transition: 0.6s;
}
.x-navbar
a:hover:after {
width: 100%;
}
what am i missing from stopping this from happening on mobile?
here is the website
bit.ly/2IY69uj