How to Change Font or Color for a Single Menu Item?

Solved

How to Change Font or Color for a Single Menu Item?

xbemx
Tourist
5 0 4

Hi everyone,

I’d like to style one specific item in my main menu differently, with a unique font and/or color, to make it stand out. I’m using [Craft theme] on Shopify. Could someone guide me on how to apply custom styles to just one menu item?

Thanks for your help!

Accepted Solution (1)
Moeed
Shopify Partner
7514 2029 2496

This is an accepted solution.

Hey @xbemx 

 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file

4) Add the following code in the bottom of the file above </body> tag

<style>
a#HeaderMenu-ready-to-go-drums {
    color: red !important;
}
a#HeaderDrawer-ready-to-go-drums {
    color: red !important;
}
</style>

RESULT:

Moeed_0-1732090878446.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


View solution in original post

Replies 7 (7)

Moeed
Shopify Partner
7514 2029 2496

Hey @xbemx 

 

Can you share your Store URL and Password if enabled? Also, tell me the name of the menu in the navigation that you wanna change the font/color of.

 

Best Regards,

Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


xbemx
Tourist
5 0 4

http://mysticsoundscape.com

I would like to change Ready to go drums title.

Thank you very much!

Moeed
Shopify Partner
7514 2029 2496

This is an accepted solution.

Hey @xbemx 

 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file

4) Add the following code in the bottom of the file above </body> tag

<style>
a#HeaderMenu-ready-to-go-drums {
    color: red !important;
}
a#HeaderDrawer-ready-to-go-drums {
    color: red !important;
}
</style>

RESULT:

Moeed_0-1732090878446.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


xbemx
Tourist
5 0 4

It is working, thank you very much. Do you know how to make red highlight ("Naroci zdaj") like on this site: https://domacamarenda.si/ ?

Moeed
Shopify Partner
7514 2029 2496

Hey @xbemx 

 

Remove the previous code and add this new code with the same steps mentioned above.

<style>
a#HeaderMenu-ready-to-go-drums {
    background: red !important;
    color: white !important;
}
a#HeaderDrawer-ready-to-go-drums {
    background: red !important;
    color: white !important;
}
</style>

RESULT:

Moeed_0-1732093040553.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

 

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


xbemx
Tourist
5 0 4

thank you!

Moeed
Shopify Partner
7514 2029 2496

Thank you for your reply. I'm glad to hear that the solution worked well for you. If you require any more help, please don't hesitate to reach out. If you find this information useful, a Like would be greatly appreciated.

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications