Why is my hover custom CSS code incorrect?

  • Unknown's avatar

    Hello!

    I have two hover issues on my site.

    The main heading has a hover color that matches the background but there needs to be no hover color with the custom CSS. Can someone please inform me what is wrong with this code.

    .masthead a {
    color: inherit;
    }

    .masthead a:hover {
    color: 041e49;
    }

    Also, why is this code not changing the color for button when hovering?

    .wp-block-button a:hover {
    color: #f37323;
    }

    Thank you!

    The blog I need help with is: (visible only to logged in users)

  • The topic ‘Why is my hover custom CSS code incorrect?’ is closed to new replies.