The Magento 2 Snowdog menu defines its own styles, including hover text colors. To override those styles or other Snowdog menu CSS, follow these steps:

  1. Open the file app/design/frontend/Theme/hyva/web/tailwind/postcss.config.js in your Hyvä child theme.
  2. Add the following code to exclude the Snowdog menu extension’s layout:
  3. Copy the file vendor/snowdog/module-menu/view/frontend/tailwind/tailwind-source.css to the following location in your Hyvä child theme: app/design/frontend/Theme/hyva/Snowdog_Menu/tailwind/tailwind-source.css
  4. Open the copied file and adjust its contents to your needs.
  5. Run the from your Magento 2 root directory and redeploy the static content.

Done. Reload the storefront and check that your CSS changes appear.

Overriding Snowdog menu CSS in Hyvä
Need help implementing this solution, or still looking for a fix to your Magento problem? Get in touch and I will be happy to help with your project.
Tags: