-
AuthorPosts
-
March 23, 2019 at 11:20 pm #1082189
Hi –
I’m trying to change the active state in the sub-nav. I want it to be bold and black. The other links should be default black with an underline. I decided to just start with get the active state to work, but no joy. Per documentation, this was what I was experimenting with.#top #wrap_all #header #avia-menu ul li.current-menu-item a {
color: #000000;
text decoration: none;
}What am I doing wrong? Any input appreciated.
Thanks,
RS
- This topic was modified 5 years, 8 months ago by bigcon6_wp.
March 27, 2019 at 9:53 am #1083485Hi RS,
The login credentials didn’t work, please check.
The code you’re using seems to be correct but I could not verify why it’s not working on your site since there’s no submenus on your main menu.Best regards,
NikkoMarch 27, 2019 at 3:26 pm #1083662Hi Nikko –
Username was slightly off, I’ve corrected it and tested access. You should be able to get in now.
The submenus only appear in certain pages. I’m using the “Fullwidth Submenu” content element. URLs for pages in private area.
Thanks,
RS
March 27, 2019 at 3:32 pm #1083666Hi Nikko –
One other piece of info that may be useful:
I’m also trying to update the main menu (in main nav) to be black, with underline in hover state, and white in active state (with no underline) – except on homepage. I’ve not been able to get the underline to not show up in active state. I’ve a separate ticket on this. It may be that my experimentation with trying to get the main nav to work is fighting with the sub-nav settings.
RS
March 28, 2019 at 5:24 am #1083916Hi RS,
Try adding these codes in Quick CSS, located in Enfold > General Styling):
I’m trying to change the active state in the sub-nav. I want it to be bold and black. The other links should be default black with an underline.
#top #wrap_all .av-subnav-menu li a .avia-menu-text { text-decoration: underline; } #top #wrap_all .av-subnav-menu li.current-menu-item a .avia-menu-text { font-weight: bold; text-decoration: none; color: black; }
I’m also trying to update the main menu (in main nav) to be black, with underline in hover state, and white in active state (with no underline) – except on homepage
It seems you have already done this.
Best regards,
NikkoApril 13, 2019 at 8:00 pm #1090445Thanks Nikko! That worked. Appreciate your help.
Please close this ticket (if you haven’t already).
Rebecca
April 14, 2019 at 10:09 am #1090551Hi Rebecca,
Great, I’m glad that you got it working and thanks for the update. I’ll close this thread for now then, please open a new thread if you should have any further questions or problems.
Best regards,
RikardApril 14, 2019 at 10:09 am #1090552 -
AuthorPosts
- The topic ‘Subnavigation Menu – Active State’ is closed to new replies.