Shopify themes, liquid, logos, and UX
Hello to all the Shopify community :-),
I need help for CSS coding on Studio Theme -> I would like to change the text color of only one of my main navigation menu to highlight it.
The "HALLOWEEN SPECIAL" navigation menu should appear In Orange rather than white
I tried to quibble with the code but nothing to do, the color does not change. I'm having trouble identifying my menu or placing my code incorrectly on my CSS stylesheet.
Website - https://shopjadeira.com/
Thank You!
Solved! Go to the solution
This is an accepted solution.
Hi @ShopJadeira
Try this one.
#HeaderMenu-halloween-special > span {
color: #ff9900;
}
I hope it help.
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Hello,
I'm trying change a button on the menu to red. just like many other peoples have asked you. I look everywhere and the only place I can see to edit is header.lidquid under section. My theme is "supply" My URL is txaquatic.com , Can you please help me with code to change the button CLEARANCE to red color. PLease
Is this solved?
Yes, Thanks My friend
All Products – North Shore Kicks
Having difficulty changing the Sale colour to red in the drawer menu. Would you be able to assist? It's using the spotlight theme.
Check this one.
From your Shopify admin dashboard, click on "Online Store" and then "Themes".
Find the theme that you want to edit and click on "Actions" and then "Edit code".
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#HeaderDrawer-sale {
color: #ff0000;
}
And Save.
Result:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Check all and still dont work, please help me this is my store
want change color of SALE, also on phone pls help! thanks in advance
Check this one.
From your Shopify admin dashboard, click on "Online Store" and then "Themes".
Find the theme that you want to edit and click on "Actions" and then "Edit code".
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#HeaderMenu-sale, a#HeaderDrawer-sale {
color: red;
}
And Save.
Result:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
I have tried all the various possibilities in this chat. However none have worked and my BIG SALE is still black for my website. stiili.com
Hi @STIILI
Check this one.
From you Admin page, go to Online Store > Themes
Select the theme you want to edit
Under the Asset folder, open the main.css(base.css, style.css or theme.css)
Then place the code below at the very bottom of the file.
a[href="/collections/big-sale"] {
color: red;
}
And Sve.
result:
Note: This will visible on the mobile and dekstop.
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Hi, I did that in my base.css file however I am having the same issues still
EDIT: IGNORE ABOVE. I RETRIED IT AND IT WORKED!!! THANK YOU. Do you know which coding language this is and why it is different to certain themes?
Oh, it will be hard to explain with code. It's the same across the other themes, but the specific words you want to change are different from those in the other store, including varying wording and collection names. While you have the same theme, each store owner has a unique design, adding a lot of customizations. That’s why sometimes things work and sometimes they don't.
Could you help me for matmazelcanta.com? I want "Yeni Sezon" red color
Check this one.
From your Shopify admin dashboard, click on "Online Store" and then "Themes".
Find the theme that you want to edit and click on "Actions" and then "Edit code".
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:
#sidebar-menu > div > div.header-sidebar__scroller > ul > li:nth-child(1) > a {
color: red;
}
#shopify-section-sections--22486993764638__header > height-observer > x-header > nav.header__primary-nav.header__primary-nav--center > ul > li:nth-child(1) {
color: red;
}
and save.
Result:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Many thanks. But it doesn't work on me.
You insert theme on the @media
Please follow the image where the curly bracket should be.
Check where i transfer the 1 closing bracket. Then Save.
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Ok, it looks like you are the person to talk about changing the color of one menu item on my header. I went through the previous posts and not one is using the Publisher theme. Is this functionality possible on this theme? Would love to change Class of 2025 1/4 Zip to red. Would love your help!!! Thanks!
Hi @jdawson99
Yeah, I think so 😅 they keep asking same question on the original post and I know every store is different.
Check this one for you.
From your Shopify admin dashboard, click on "Online Store" and then "Themes".
Find the theme that you want to edit and click on "Actions" and then "Edit code".
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#HeaderMenu-class-of-2025-1-4-zip, a#HeaderDrawer-class-of-2025-1-4-zip {
color: red;
}
And save.
Result:
Note: I also colored red on the mobile view.
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
You are the best!! Thank you so much! It worked and it looks fantastic!
Your welcome! Happy to help. 😊
You are excellent. Thank you very much again
Did that trick work? Good then. Be careful when adding code; it's sensitive, just one dot ., and it can ruin everything.
Hi! would you be able to help make my 'LAST CALL' Menu Item in my header become the color red?
website - https://chelseacrew.com/
shopify store: the-chelsea-crew
thank you!
Hi @ChelseaCrew
Do you mean in the mobile view?
Check this one.
From your Shopify admin dashboard, click on "Online Store" and then "Themes".
Find the theme that you want to edit and click on "Actions" and then "Edit code".
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="/collections/last-call"] {
color: red !important;
}
And Save.
Result:
You can take out the code that you add for the desktop. This will show on dekstop and mobile screen.
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
thank you so much!!!
You have been amazing and sadly I have joined the chat a bit later 😄
Could you please have a look at my website too by any chance? I've tried that 4-5 different codes mentioned above but sadly none of them worked for me. Also tried adding !important.
I would like the SALE collection to be colored to #C51E3A in the navigation. FYI I'm using Buddha navigation app if that could be the problem why it's not working for me.
The website's URL is this: https://luvpip.com/
Thanks for looking into this 🙂
Check this one.
From you Admin page, go to Online Store > Themes
Select the theme you want to edit
Under the Asset folder, open the main.css(base.css, style.css or theme.css)
Then place the code below at the very bottom of the file.
a[href="/collections/yeni%CC%87-sezon"] {
color: red;
}
And sve.
result:
This will color the mobile and dekstop. Let me know if you like only the desktop. Thanks!
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Hi there,
Can you help me too? I'm trying the code but it's not working.
We want this to make in red on desktop and mobile view. This is our shop decarba.de
Hi @Vinsmoke00
Check this one.
a.bold.link-faded-reverse, a.group.block.w-full {
color: red;
}
Note: I also change the color on the mobile view.
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
I already added the code and it's working but one issue is in the mobile version some of the menus are affected check decarba.com to see it
Oh, can you replace on this code.
a.bold.link-faded-reverse, a[href="/en-pt/collections/mens-bestsellers"] {
color: red;
}
And Save.
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Sorry but the code did this
Sorry, about that. This is the last option I can think of you cant change the position the the menu cause the color will change.
Replace the code to this.
div.header__main-nav > div > nav > ul > li:nth-child(3) > a, div.panel__scroller.v-stack.gap-8 > ul > li:nth-child(3) > a {
color: red;
}
And Save.
Thank you! it works!
Here to ask the same question as it seems you are the absolute expert at this 🙂
We want the Sale menu to be red and if possible bold text.
Here's our website: equizoneonline.com
The theme is Be Yours
Hi @EquiZone
Check this one.
From you Admin page, go to Online Store > Themes
Select the theme you want to edit
Under the Asset folder, open the main.css(base.css, style.css or theme.css)
Then place the code below at the very bottom of the file.
#menu-drawer > div > div > nav > ul > li:nth-child(8) > details > summary > span, a[href="/collections/equestrian-sale"] {
color: red;
}
And Save.
result:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
That's great, thank you! However, it has also included the sale text in the header in red (this we ideally don't want). It also seems to have shifted the menu to the right (it's no longer centered).
All help greatly appreciated!
Hi @EquiZone
Please, make it clear. You want it color red or not? Just bold?
Thanks!
Hey hey, i also added a red menu item (a[href="/collections/spar-sets"] {color: #DB5226 !important;}) and it works like a charm but unfortunately not when the menu link is active. Tried to solve this via the a:hover / a:active status but there seems to be a class called .header__active-menu-item
The theme is Refresh
Any help is really appreciated 😊
Can I take a look in your store? Thanks!
Hello,
Can you help to get a code for this store too? https://263b2e-ed.myshopify.com/
Mega Menu - Sklep - needs red colour and mobile too.
Thank you in advance.
Hi @Skviotu
Check this one.
From you Admin page, go to Online Store > Themes
Select the theme you want to edit
Under the Asset folder, open the main.css(base.css, style.css or theme.css)
Then place the code below at the very bottom of the file.
li.has-submenu.submenu-is-mega-menu:nth-child(1) > a {
color: red;
}
And Save.
Result:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Hi @Made4uo-Ribe ,
You have been amazing and sadly I have joined the chat a bit later 😄
Could you please have a look at my website too by any chance? I've tried that 4-5 different codes mentioned above but sadly none of them worked for me. Also tried adding !important.
I would like the SALE collection to be colored to #C51E3A in the navigation. FYI I'm using Buddha navigation app if that could be the problem why it's not working for me.
Thanks for looking into this 🙂
Hello @Luvpip
It seems like you already change it,.
Hi can you help me?, I want to make my On Sale menu in red color
Thank you
Hi @mmoonndd
Yeah sure, check this one.
From your Shopify admin dashboard, click on "Online Store" and then "Themes".
Find the theme that you want to edit and click on "Actions" and then "Edit code".
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#HeaderMenu-on-sale, a#HeaderDrawer-on-sale {
color: red;
}
Note: Paste it after the very last curly bracket } in the file.
And Save.
Result:
Its for mobile and desktop.
Welcome, Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Hey @Made4uo-Ribe - Could you please help with changing a single nav/menu item to a different colour on my Expanse Theme.
URL is fetchy.co
Menu item is "New Arrivals".
Color is Hex #FF3C10
Thanks!
Hi @Fetchy
Check this one.
From your Shopify admin dashboard, click on "Online Store" and then "Themes".
Find the theme that you want to edit and click on "Actions" and then "Edit code".
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:
details#site-nav-item--4 summary {
color: #FF3C10;
}
div.slide-nav__wrapper > ul > li:nth-child(4) > button {
color: #FF3C10;
}
And Save.
result:
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024