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
Any chance you can assist me please? Trying to make one single item a different colour. ( www.powerhome.co.za). under my main menu header the " TRACK MY ORDER" part. to Blue. I have theme.css and I am using the Electro theme and dont have base.css. If tried multiple ways to do this but not having any luck.
Hi @powerH64
I apologize for the oversight. Please provide another link or a preview. Then mention me so I can comment before it expires. Thank you!
Thank you for the info, do you like to change the mobile aslo?
This is for te dekstop and mobile.
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.menu-item > a[href="https://powerhome.co.za/apps/track123"],
li.menu-item.menu-mobile-item a[href="https://powerhome.co.za/apps/track123"] {
color: blue;
}
And save.
Result:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Not working.
Can you advise if I am putting in the code correctly please? @Made4uo-Ribe
see attached image.
Yes, It correct. Can you try to add on the header.css? Thanks!
@Made4uo-Ribe - Sorry can you expand on what you mean by " can you try add on the header.css"? been trying a lot of methods but not getting it right. Thank you
Sorry Im not clear. Instead of theme.css
From you Admin page, go to Online Store > Themes
Select the theme you want to edit
Under the Asset folder, open the header.css
Then place the code below at the very bottom of the file.
li.menu-item > a[href="https://powerhome.co.za/apps/track123"],
li.menu-item.menu-mobile-item a[href="https://powerhome.co.za/apps/track123"] {
color: blue;
}
And Save.
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
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.
The year-end shopping spree is around the corner! Is your online store ready for the ...
By JasonH Nov 10, 2024We recently spoke with Zopi developers @Zopi about how dropshipping businesses can enha...
By JasonH Oct 23, 2024A big shout out to all of the merchants who participated in our AMA with 2H Media: Holi...
By Jacqui Oct 21, 2024