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/
A user seeks to change the text color of a specific menu item to pink on their Shopify store (draegerparis.com). The menu item in question is highlighted in a screenshot.
Two CSS solutions were provided:
Solution 1 (Made4uo-Ribe):
base.css, style.css, or theme.css in the Assets foldera[href="/en-en/pages/collection-camille-et-anna"],
a[href="/en-en/pages/collection-camille-et-anna"]:hover {
color: pink;
}
Solution 2 (WebDeskSolution):
main.css fileBoth solutions require editing theme code files through Shopify admin. The discussion remains open with no confirmation from the original poster about which approach worked.
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/
Hi @stg_herve
You like to change the color also when it hover?
If it try this one.
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.