• twenty twenty-two How to change menu link hover color or when you click on a link it changes to different color. I experimented for hours looked for information and came up with no solution. All it shows you is your underlying link. the only thing I was able to accomplish is to change all the links to a different color.

    • This topic was modified 2 years, 4 months ago by Jan Dembowski.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi

    I had hoped that it would be possible to change the link hover colour using theme.json but I couldn’t find a way to do it.

    The only way I found to do it was to add the following to the theme’s style.css file:

    .wp-block-navigation-item__label:hover {
      color: blue;
    }

    Ensure that you’re using a child theme as that will get over-written if you update the theme.

    Thread Starter warrenbest

    (@warrenbest)

    That worked perfect for menu links hover color and the drop menu Links.
    Other then the ONE top link that supports the drop-down menu Links.
    Love it Thank you for the CSS code that works for me great.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘twenty twenty-two How to change menu link color’ is closed to new replies.