-
AuthorPosts
-
March 23, 2019 at 7:27 pm #1082161
Hi –
I’m trying to remove the underline in the main menu for the active page state page. I used the advanced styling to change the color, but there didn’t seem to be a way to turn off the underline. Per your documentation I used the follow .css, but that didn’t seem to work. Can you advise? Thanks, RS
/*————————*/
/* Remove underline
/*————————*/#top #avia-menu li.current-menu-item > a > .avia-menu-fx {
background-color: transparent !important;
border: none !important;
opacity: 0;
visibility: hidden;
}March 23, 2019 at 11:21 pm #1082190Adding private content; corrected username.
- This reply was modified 5 years, 8 months ago by bigcon6_wp.
March 25, 2019 at 2:20 am #1082452Hi,
Thank you for contacting us.
To remove the underline from the active main menu link please follow the instructions provided in the documentation :)
Best regards,
VinayMarch 26, 2019 at 3:30 pm #1083129Hello Vinay –
Thank you for your response. I’ve tried multiple variants of this code as per the documentation, and it just didn’t work. This is why I emailed support.
I’ve cleared out and re-added the code from the documentation, and this is still not working as expected.
To reiterate, underline on hover is fine. I just don’t want the underline to appear on the active page/state.
I also cleared out the page cache (server side), as well as on the browser side, and still didn’t work.
Please advise as to next steps.
Thanks,
RS
March 30, 2019 at 6:15 am #1084805Hi,
You have this in your child theme CSS:
li.current-menu-item .avia-menu-text { font-size: 101%; font-weight: bold; text-decoration: underline; }
Please try to change the text-decoration value to none.
Best regards,
RikardApril 13, 2019 at 7:50 pm #1090443Thanks Rikard. That did the trick. Not sure why that code ended up in there. I’ll follow up with the original developer.
Please close the ticket (if you haven’t already).Best,
RebeccaApril 14, 2019 at 10:07 am #1090550Hi Rebecca,
Glad we could help :)
If you need further assistance please let us know.
Best regards,
Victoria -
AuthorPosts
- You must be logged in to reply to this topic.