Change menu underline colour

Home Forums Technical Theme Support STAX Theme Change menu underline colour

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #469990
    David L
    Participant

    Hi team,

    How can i change the green underline colour that comes up when i put my cursor over navigation menu items.

    Its currently green and want red.

    #469997
    Charles
    Participant

    Hi David, which theme are you using?

    #470014
    David L
    Participant

    The Stax theme, thanks

    #470103
    David Morgan
    Keymaster

    Hi David,

    Sure, this can be done by adding the following CSS within the Additional CSS section of the Customizer or Editor:

    .wp-block-navigation__container .wp-block-navigation-item:not(.button) a::after {
        background: red;
    }

    You can adjust color as needed using HEX codes.

    Let us know if this works.

    Thanks!

    #470107
    David L
    Participant

    Hey David,

    Thanks for this, but doesnt seem to have done the trick unfortunatly.

    I went to customizer and added additional css there and hit publish but not red line when i refereshed the page.

    #470118
    Diana
    Participant

    I tried this as well with hex code b24a1e and it didn’t work either. Perhaps because of the disconnect in navigation menus I just opened a ticket about?

    #470126
    David Morgan
    Keymaster

    No prob, let’s try a minor adjustment:

    .wp-block-navigation__container .wp-block-navigation-item:not(.button) a::after {
        background: red !important;
    }

    That should do the trick!

    #470148
    Diana
    Participant

    that one worked for me, thanks David!

    #470321
    David L
    Participant

    Dear David,

    This also worked for me. Many thanks. Looked into your work, very impressive.

    Take care.
    D

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.