Shopify themes, liquid, logos, and UX
hello,
I want to ask what am i doing wrong here with changing the single menu item color.
1. I have inspected the menu item
2. changed a simple code from online and pasted at the bottom of the style.css file
thank you for your help!
Solved! Go to the solution
This is an accepted solution.
Hello @TangyCollection
You can add code by following these steps
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file
3. Paste the below code before </body> on theme.liquid
<style>
ul#nt_menu_id li:nth-child(1) a {
color: #E04441 !important;
}
</style>
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.
This is an accepted solution.
Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code
Step 2: Search file theme.liquid
Step 3: Insert this code above </head> tag:
<style>
.nt_menu.in_flex.wrap.al_center li:nth-child(1) > a {
color: red!important;
}
</style>
You can change "red" in this code to another color you want.
Here is result:
Hope this can help you, If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍
If our suggestions are useful, please let us know by giving it a like, marking it as a solution.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges: Get more sales with striking labels, badges, and banners from our 10,000+ available templates.
BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now
This is an accepted solution.
Hello @TangyCollection
You can add code by following these steps
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file
3. Paste the below code before </body> on theme.liquid
<style>
ul#nt_menu_id li:nth-child(1) a {
color: #E04441 !important;
}
</style>
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.
Hello Niraj_patel,
I did find the theme.liquid file, but I don't see any <body> in the file, so I am a bit confused where to put the code.
thank you for your help.
-edit: found it in a different folder.
Thank you so much!
This is an accepted solution.
Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code
Step 2: Search file theme.liquid
Step 3: Insert this code above </head> tag:
<style>
.nt_menu.in_flex.wrap.al_center li:nth-child(1) > a {
color: red!important;
}
</style>
You can change "red" in this code to another color you want.
Here is result:
Hope this can help you, If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍
If our suggestions are useful, please let us know by giving it a like, marking it as a solution.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges: Get more sales with striking labels, badges, and banners from our 10,000+ available templates.
BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now
I did find the theme.liquid file, but I don't see any <head> in the file either, so I am a bit confused where to put the code.
thank you for your help.
@TangyCollection, It's above <body> tag:
If our suggestions are useful, please let us know by giving it a like, marking it as a solution.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges: Get more sales with striking labels, badges, and banners from our 10,000+ available templates.
BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now
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#item_307bfb5c-2489-4199-9110-08e5b41d5d67 a, li#item_4eb14c16-15cc-4ccd-89f3-f1f611ad3dca a {
color: #e04441;
}
And Save.
Result:
Note: I also include your drawer menu.
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Hi
This is Richard from PageFly - Shopify Page Builder App
Please add this code to your theme.liquid above the </head> to get this solved
Step 1: Online Stores > Themes > More Actions > Edit code
Step 2: click on theme.liquid and paste the code above the </head>
<style>
.nt_menu.in_flex.wrap.al_center li:nth-child(1) > a {
color:red;
}
</style>
Hope this can help you solve the issue
Best regards,
Richard | PageFly
Please let me know if it works by giving it a Like or marking it as a solution!
➜ Optimize your Shopify store with PageFly Page Builder (Free plan available)
All features are available from Free plan. Live Chat Support is available 24/7.
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