a:focus in navigation

Home Forums Support a:focus in navigation

Home Forums Support a:focus in navigation

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #165963
    Martin

    Hey Tom,

    i’m looking for the right css to change the a:focus state for the main-navigation.

    I’ve added following code in a child theme:

    .main-navigation .main-nav ul li a:hover {
    color:#000000

    }

    But if i use tab-stops to hop between navigation-items, nothing changes.

    Any suggestions?

    Thanks in advance.

    Best regards

    #165968
    Martin

    haha…just saw it…

    maybe i should use :focus

    Greetings

    #165982
    Tom
    Lead Developer
    Lead Developer

    Glad you got it sorted 🙂

    For others:

    .main-navigation .main-nav ul li a:focus {
        color:#000000
    }
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.