Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #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.
    #1083485

    Hi 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,
    Nikko

    #1083662

    Hi 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

    #1083666

    Hi 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

    #1083916

    Hi 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,
    Nikko

    #1090445

    Thanks Nikko! That worked. Appreciate your help.

    Please close this ticket (if you haven’t already).

    Rebecca

    #1090551

    Hi 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,
    Rikard

    #1090552

    Forgot to close :-)

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Subnavigation Menu – Active State’ is closed to new replies.