How to Change the Text Color of a Specific Menu Item to Pink?

Hello, do you know how to change the text color of the menu item outlined in red to pink?

Thank you !

My website : https://www.draegerparis.com/

1 Like

Hi @stg_herve

You like to change the color also when it hover?

If it try this one.

  1. From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
  2. Find the theme that you want to edit and click on “Actions” and then “Edit code”.
  3. In the “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
a[href="/en-en/pages/collection-camille-et-anna"],
a[href="/en-en/pages/collection-camille-et-anna"]:hover {
    color: pink;
}

Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!

Hello @stg_herve

Please follow the steps below after logging into the Shopify admin:

  • Go to your Shopify Admin panel.

  • Click on Online Store > Themes.

  • Find the theme you want to edit and then click Actions > Edit code.

  • Search main.css

  • Insert the provided CSS code at the end of the file and save the changes.

.main-menu__content .main-nav li:first-child .main-nav__child .child-nav li:nth-child(3) ul.main-nav__grandchild li:nth-child(2)
{
    color: pink;
}

Please hit Like and Mark it as a Solution if you find our reply helpful.