Change individual link color

Solved
Olivier7
Excursionist
28 0 5

Hello,

 I was wondering if anyone could help me with coding as well as the steps to get my SALE label to show up individually red?

In the custom section, there is only an option to change the colour of all the menu labels.

 I use the Fashionopolism theme for my website (which is currently not published to the public).

I have attached a photo of my website for reference. Thanks!

URL: www.fineforeal.com

Screenshot 2020-08-30 at 13.52.39.png

juansmartdev
Explorer
46 11 14

This is an accepted solution.

Hello, @Olivier7 

Hope you are doing great!

Just copy and paste this code on your theme.scss.css or theme.scss.liquid

.dropdown:first-child a  {
     color: red !important;
}

 

 

◦ Problem Solved? ✔️ Please click on Accept as Solution and like.
◦ Hire me! Worked for 2 years as Shopify Developer.
◦ Contact me at: juansmartdev@beeethereal.com
Olivier7
Excursionist
28 0 5

Hi @juansmartdev !

I'm doing much better now, you're a hero. Thank you

Any way I can have the same on mobile?

juansmartdev
Explorer
46 11 14

This is an accepted solution.

Your welcome

 

Yes, use this

 

#accordion >li:first-child a {
    color: red !important;
}
◦ Problem Solved? ✔️ Please click on Accept as Solution and like.
◦ Hire me! Worked for 2 years as Shopify Developer.
◦ Contact me at: juansmartdev@beeethereal.com
Olivier7
Excursionist
28 0 5

Everything worked perfectly

Thank you man

0 Likes