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!
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!
Is there also a chance to put that Orange color in side menu for phone users?
Yeah, same store?
Check this one.
Same Instruction.
#HeaderDrawer-halloween-special {
color: #ff9900;
}
And Save.
Result:
I hope it help.
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
yes please.
Hello,
I have tried this solution in base.css but it doesn't seem to be working. Am I doing something wrong or is the theme I am using stopping me from making this change? I am using the Be Yours theme.
Thanks in advance for your help.
Kind regards,
Erin
Sorry, this code is not universal to all store. It writes according to store themes and design. If your looking same design on this, would you mind to share your store URL? Thanks!
Thanks for the info, 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.header__menu-item.header__menu-item--top.list-menu__item.focus-inset[href="/collections/new-in"] > span.label {
color: orange;
}
And Save.
Result:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Any possibility of getting the code please to make 'Valentines" red in the main menu on both desktop and mobile for this website please, the theme is Broadcast- www.juvidesigns.com
Hello,
Thank you for your quick reply.
I have copied this code into base.css but it doesn't seem to have worked. See images. Can you help with this?
Thanks,
Erin
You can add !important to it.
a.header__menu-item.header__menu-item--top.list-menu__item.focus-inset[href="/collections/new-in"] > span.label {
color: orange !important;
}
And Save.
Hi i wold like write WEEKLY SALE in red in my shop menu can you help me please
Thank you
Hi,
I got it correct on my desktop version but my mobile site didn´t get right.
Theme: Refresh
Any solution?
Hello @sundancekid
Wouyld you mind to share your store URL? Thanks!
Its password protected.
Hi can you help me with this, same problem, same theme.
I want to make my On Sale menu in red color
Thank you
Hi Would you be able to help? Trying to make "SALE" in top nav both desktop and mobile red. https://keala-bikinis.com/
Hi @kealab
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="https://keala-bikinis.com/collections/sale"] {
color: red;
}
And save.
Result:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Amazing, that works. Thank you!
Wlecome, Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Hi, I am trying to do the same for my store on Desktop and Mobile, but have my menu item "boosted sale" in red as oppose to blue like every other one. My theme is Pipeline and my store URL is www.boostedkicksau.com
Thank you very much!
Hi @Larchi22
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.navlink.navlink--toplevel[href="/collections/black-friday-sale"][data-top-link], a.sliderow__title[href="/collections/black-friday-sale"]
{
color: red;
}
And Save.
Result:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Hi @Made4uo-Ribe,
I tried all the options above, but looks like I have a different code in my theme 😞
My site: www.nort.si and I would also like to color SALE wording in main menu both on desktop as on mobile into red (if possible color #A30C13).
Thank you!!!
Its okay, check this one then.
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.navigation__link[href*="/collections/sale"] {
color: #A30C13;
}
And Save.
Result:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Works like magic! Thank you!
Only issue I see now is that first item on the left in the drop down menu is also colored now?
Hi @Made4uo-Ribe, I updated theme today to the latest version and now going into code editor I have none of the files you are mentioning (base.css, style.css or theme.css), so no idea where to add the code 🙂
Thanks!
Gasper
Hi,
Is your problem solve? if not then please share the updated URL store. Thanks!
Hello Made4uo.
I'am having a bit of trouble also, Would you mind checking on my site?
https://guldklippet-se.myshopify.com/
Thanks in advance,
Simon.
Hello Made4uo.
I'am having a bit of trouble also, Would you mind checking on my site?
https://guldklippet-se.myshopify.com/
Thanks in advance,
Simon.
Which navigation word you like to change color?
is this solve?
Hi!
I triet the solutions above but none worked for me so far!
My theme is SENSE.
i want to make this https://naturalhellenia.com/collections/special-offers red
Thank you!
Hello,
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-sales span {
color: red !important;
}
And Save.
Result:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Yes that worked!
I inserted the code in Custom CSS.
Thank you!
Welcome!
Do you happen to know how can i add an icon on that menu item?
And how to make it red also in mobile version?
Thank you 🙂
To add and icon you need to insert code to the liquid file. Youll need a developer to do it. Seems liek you already colored red on mobile.
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!
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!
By 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, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024