Shopify themes, liquid, logos, and UX
Hello!
Pre-apologies on asking a question that have been answered in multiple threads, but not so clearly for our Prestige Theme. Have tried multiple videos / ways to no avail.
Would appreciate support to change our "Clearance" word to red in desktop and mobile version.
Appreciate any insight!
Solved! Go to the solution
This is an accepted solution.
Hi @resid3ncy
li.header__primary-nav-item[data-title="CLEARANCE"] > a {
color: red !important;
}
ul.header-sidebar__linklist > li:nth-child(8) > a {
color: red !important;
}
I hope this helps
Best,
Daisy
Hi @resid3ncy
You can try to follow this step
Step 1: Go to Edit code
Step 2: Find file theme.css and add this code at the end of the file
ul.contents.unstyled-list.md-max\:hidden li:nth-child(8) {
color: red !important;
}
Result:
Best,
Liz
Hi @resid3ncy,
Go to Online Store, then Theme, and select Edit Code.
Search for base.css/theme.css/style.css/main.css/custom.css file Add the provided code at the end of the file.
.header__primary-nav-item[data-title="CLEARANCE"] a {
color: red !important;
}
This is an accepted solution.
Hi @resid3ncy
li.header__primary-nav-item[data-title="CLEARANCE"] > a {
color: red !important;
}
ul.header-sidebar__linklist > li:nth-child(8) > a {
color: red !important;
}
I hope this helps
Best,
Daisy
This worked perfectly seamless for desktop and mobile! Thank you so much!
Appreciate the feedback from everyone!
One question, is it just made a few other collections red also. ESSENTIALS, GAINESVILLE as examples. How would we revert those back to black please?
Hi @resid3ncy
Of course it is possible
change the color of other menus to red
if you don't like it or want to change to another color, just change the color name in the color attribute
Or delete the code to return to black
Do you want to change to any other color?
Hi, no, just to clarify, that because of the nth (8) every 8th item in the side menu is in red.
Could we make it that only the "CLEARANCE" is in red, no other collection?
Thank you so much!
Hi @resid3ncy
Is there any other part of the site that is showing red?
Can you point it out so I can check it again?
The code with the number 8 is the order I am coding because on mobile there is no separate code for the menu like on desktop
so it has to be coded in order.
If you change the order you can edit this number
if you have any other red error, please let me know
Hello! Appreciate the response.
The other items on mobile that are coming up red are "GAINESVILLE" and "ESSENTIALS". These are coming up red because they are technically the 8th option in the side menu drop down under "CITIES" and "COLLECTIONS".
Appreciate your help as would like to only have CLEARANCE be red, no other item on mobile.
In Canada, payment processors, like those that provide payment processing services t...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025