This topic has 4 replies, 3 voices, and was last updated 4 years, 2 months ago ago by Olga Barlow
Hello,
is it possible to move the line behind the text and make it like this: https://prnt.sc/u68bpp
Right now it looks like this: https://prnt.sc/u68bxl
Hope for an answer. Thanks!
Hello,
Try to add the next code in Theme Options > Theme Custom CSS:
.menu-items-underline .menu>li>a:before {
bottom: 9px;
height: 3px;
opacity: .5;
}
Regards
Thank you for your answer Rose, but i want the line behind the text, not with opacity. That does not seem to look good with the method you provided. Any solution?
Thanks.
Hello,
Then try the code below
.header-main-menu.et_element-top-level .menu > .current-menu-item > a:after,
.menu-items-underline .menu>li>a:hover:after {
border-top: 4px solid #b2f2f9;
content: "";
margin: 0 auto;
position: absolute;
left: 0;
right: 0;
bottom: 10px;
width: 95%;
z-index: -1;
}
.header-main-menu.et_element-top-level .menu > li > a {
z-index: 1;
}
.menu-items-underline .menu>li>a:before {
display:none;
}
Regards
You must be logged in to reply to this topic.Log in/Sign up