Changing the color of single menu item

Solved

Changing the color of single menu item

TangyCollection
Tourist
3 0 2

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

 

TangyCollection_1-1724172260713.png

 

TangyCollection_0-1724172234671.png

 

thank you for your help!

Accepted Solutions (2)

niraj_patel
Shopify Partner
2378 514 511

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>

niraj_patel_0-1724173039067.png

Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.

Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com

View solution in original post

BSSCommerce-HDL
Shopify Partner
2123 760 965

This is an accepted solution.

Hi @TangyCollection 

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:

BSSCommerceHDL_0-1724175065666.png

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

View solution in original post

Replies 8 (8)

kazi
Shopify Partner
594 88 110

Hello @TangyCollection  can you share the store URL?

▶️ If you need more help with your Shopify store
Speed Optimization | Theme Customization ? ☎️ WhatsApp ✉️Email Skype: kof.bd

niraj_patel
Shopify Partner
2378 514 511

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>

niraj_patel_0-1724173039067.png

Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.

Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com
TangyCollection
Tourist
3 0 2

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!

BSSCommerce-HDL
Shopify Partner
2123 760 965

This is an accepted solution.

Hi @TangyCollection 

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:

BSSCommerceHDL_0-1724175065666.png

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

TangyCollection
Tourist
3 0 2

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.

BSSCommerce-HDL
Shopify Partner
2123 760 965

@TangyCollection, It's above <body> tag:

BSSCommerceHDL_1-1724226356131.png

 

 

 

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

Made4uo-Ribe
Shopify Partner
7893 1905 2334

Hi @TangyCollection 

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:

Made4uoRibe_0-1724186987618.png

Made4uoRibe_1-1724187002108.png

Note: I also include your drawer menu. 

 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.

PageFly-Richard
Shopify Partner
4593 1052 1714

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.