Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1182249
    maria
    Participant

    Hi,
    I’ve gone through the forum but only managed to change the link colors, and NOT the hover link colors, drop-downs or the indicator bar above the nav item (see image attached).

    How do I change all links in all states & the indicator bar? Thanks

    NB: I’ve added this CSS to selected pages (not global CSS)…

    .x-navbar .desktop .x-nav > .x-active > a, .x-navbar .desktop .x-nav > .current-menu-item > a {
    color: #00C380;
    }
    .x-navbar .desktop .x-nav > .x-active > a:hover, .x-navbar .desktop .x-nav > .current-menu-item > a:hover {
    color: #00C380;
    }

    #1182598
    Prasant Rai
    Moderator

    Hello There,

    Thanks for writing in! To assist you with this issue, we’ll first need you to provide us with your URL. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.

    Thanks.

    #1183380
    maria
    Participant
    #1183470
    Joao
    Moderator

    Hi There,

    Please add the following code to change all hover and active states.

    .x-navbar .desktop .x-nav > li > a:hover, .x-navbar .desktop .x-nav > .x-active > a, .x-navbar .desktop .x-nav > .current-menu-item > a, .x-navbar .desktop .sub-menu a:hover, .x-navbar .desktop .sub-menu .x-active > a, .x-navbar .desktop .sub-menu .current-menu-item > a, .x-navbar .desktop .x-nav .x-megamenu > .sub-menu > li > a, .x-navbar .mobile .x-nav li > a:hover, .x-navbar .mobile .x-nav .x-active > a, .x-navbar .mobile .x-nav .current-menu-item > a {
        color: #00C380;
    }
    .x-navbar .desktop .x-nav > li > a:hover, .x-navbar .desktop .x-nav > .x-active > a, .x-navbar .desktop .x-nav > .current-menu-item > a {
        box-shadow: inset 0 4px 0 0 #00C380;

    Hope it helps

    Joao

    #1183593
    maria
    Participant

    Thanks! That works!

    #1183602
    Prasant Rai
    Moderator

    You are most welcome. 🙂

  • <script> jQuery(function($){ $("#no-reply-1182249 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>