How to add hover colours for nav menu

  • Unknown's avatar

    Hello! So I am currently using the Xanadu theme to design my site, and really liked the hover colour that every linked word automatically gets… except for anything in the navigation menu, apparently. Is there any way to add this manually?

    Thanks in advance!

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

  • Unknown's avatar

    Hi,

    I’ve checked the “Xanadu” theme, and it doesn’t have any settings to change the link color on hover.

    Screenshot

    Screenshot

    You can try adding the following custom CSS code in the “Additional CSS” box, as described in the article below.

    .wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content:hover {
    color: #fa053f !important;
    }
    WP
    Add custom CSS
    7 min read
    While most changes can be made with settings in the WordPress editor, you may prefer to use CSS to customize your site if you have experience writing CSS code. This guide will show you how to edit your website with CSS. This feature is available on sites with our WordPress.com Premium, Business, and Commerce plans, and the legacy Pro plan. For sites on the Free and Personal plans, upgrade your

    Now it should look like the screenshot below.

    Screenshot

    Give it a try, and let me know how that goes! 😄

  • Unknown's avatar

    Thank you so much, Faisal !

    It works perfectly!

  • The topic ‘How to add hover colours for nav menu’ is closed to new replies.