I would like to change the color to red using the codes but I did not no how. can someone please help on this matter.
thanks
Goal: change the color of a single header menu item to red via CSS on a Shopify theme.
Key steps and proposals:
Issue encountered:
Latest update/fix:
Notes:
I would like to change the color to red using the codes but I did not no how. can someone please help on this matter.
thanks
Hello @manna94
It’s GemPages support team and glad to support you today.
To provide you with the most precise solution in this case, could you please share the store link?
Hi @manna94 ,
This is Kate from PageFly - Landing page builder, I’d like to suggest this idea:
Step 1: Go to Online Store->Theme->Edit code
Step 2: Asset->/skelet.css->paste below code at the bottom of the file:
#header .menulink > nav > ul li:nth-child(3) a,
.mobnav .bordi.menus > c:nth-child(3) a{
color: red !important;
}
I hope it would help you
Best regards,
Kate | PageFly
I would like to give you a solution to support you.
Go to Online Store → Theme → Edit code.
Open your theme.liquid theme file.
Paste the below code before :
You can replace it with another color.
Hope my solution can work and support you!
Kind & Best regards!
GemPages Support Team.
Hi @manna94 ,
You can replace previous code by below code in skelet.css:
#header .menulink > nav > ul > li:nth-child(3) a,
.mobnav .bordi.menus > c:nth-child(3) a{
color: #8b0000 !important;
}
I hope it would help you
Best regards,
Kate | PageFly