What's your biggest current challenge? Have your say in Community Polls along the right column.

Changing Main Menu Header text colour of one page title - DAWN THEME

Solved

Changing Main Menu Header text colour of one page title - DAWN THEME

andrew72
Excursionist
30 0 7

Hi there,

 

I am trying to change the Colour of the text "Holiday" only in the main menu to #A3B18A

and to keep the rest as is.

 

Screenshot 2024-11-19 at 09.13.48.png

 

https://obadiahcoffee.com/

 

Accepted Solution (1)

ZestardTech
Shopify Partner
5912 1067 1413

This is an accepted solution.

Hello @andrew72 

1. In your Shopify Admin go to online store > themes > actions > edit code
2. Find Asset > base.css and paste this at the bottom of the file:

 

 

.list-menu.list-menu--inline [href="/pages/holiday-shop"] {
color: #A3B18A;
}

 

 

Output

ZestardTech_0-1732011062380.png

 

 

Want to modify or develop new app, Hire us.
If helpful then please Like and Accept Solution .
Email: support@zestard.com
Shopify Apps URL :- https://apps.shopify.com/partners/zestard-technologies
Custom Modifications Into Shopify Theme | Shopify Private App | SEO & Digital Marketing

View solution in original post

Replies 7 (7)

Mehran_Ali
Shopify Partner
447 57 69

Hi @andrew72 

 

You can achieve adding this CSS in you code

You need to follow these steps:

1) Go to the Online Store
2) Edit Code
3) Find theme.css / base.css

 

Past this CSS Code their

header .header__inline-menu ul li:nth-child(2) .header__menu-item {
    color: #A3B18A;
}

 

I hope this solution works for you!
If it does, please Like It and Mark It As A Solution, or support me by Buying Me A Coffee to keep me going!

-If this solution helps you, kindly LIKE THIS REPLY and MARK AS A SOLUTION OR

Buying Me A Coffee.

-If you need an expert Shopify developer for customization and development, feel free to contact me.


Email: Mehran.ali5300@gmail.com


WhatsApp: +92 343 0211536

ZestardTech
Shopify Partner
5912 1067 1413

This is an accepted solution.

Hello @andrew72 

1. In your Shopify Admin go to online store > themes > actions > edit code
2. Find Asset > base.css and paste this at the bottom of the file:

 

 

.list-menu.list-menu--inline [href="/pages/holiday-shop"] {
color: #A3B18A;
}

 

 

Output

ZestardTech_0-1732011062380.png

 

 

Want to modify or develop new app, Hire us.
If helpful then please Like and Accept Solution .
Email: support@zestard.com
Shopify Apps URL :- https://apps.shopify.com/partners/zestard-technologies
Custom Modifications Into Shopify Theme | Shopify Private App | SEO & Digital Marketing
andrew72
Excursionist
30 0 7

Hello @ZestardTech,

 

Is there any way for it to stay this colour even when selected?

 

Thank you!

ZestardTech
Shopify Partner
5912 1067 1413

Hello @andrew72 

1. In your Shopify Admin go to online store > themes > actions > edit code
2. Find Asset > base.css and paste this at the bottom of the file:

[href="/pages/holiday-shop"] .header__active-menu-item {
color: #A3B18A;
}

 

ZestardTech_0-1732011826417.png

 

Want to modify or develop new app, Hire us.
If helpful then please Like and Accept Solution .
Email: support@zestard.com
Shopify Apps URL :- https://apps.shopify.com/partners/zestard-technologies
Custom Modifications Into Shopify Theme | Shopify Private App | SEO & Digital Marketing
andrew72
Excursionist
30 0 7

That is great thank you!

 

Is there a code line that also transfers this to work in mobile also?

 

Currently it didn't transfer.

ZestardTech
Shopify Partner
5912 1067 1413

Hello @andrew72 

1. In your Shopify Admin go to online store > themes > actions > edit code
2. Find Asset > base.css and paste this at the bottom of the file:

 

.menu-drawer__menu.has-submenu.list-menu [href="/pages/holiday-shop"] {
  color: #A3B18A;
 }

 

ZestardTech_0-1732012957573.png

 

Want to modify or develop new app, Hire us.
If helpful then please Like and Accept Solution .
Email: support@zestard.com
Shopify Apps URL :- https://apps.shopify.com/partners/zestard-technologies
Custom Modifications Into Shopify Theme | Shopify Private App | SEO & Digital Marketing

steve_michael2
Trailblazer
356 33 43

Hello,

1) Go to Online Store
2) Edit Code
3) Find theme.css/base.css file
4) Add the following code in the bottom

a[href="/pages/holiday-shop"] {
  color: #ff0000; /* Font color change */
  font-weight: bold; /* Make it bold */
  text-decoration: underline; /* Add underline */
}

Thanks!

 

Crafting exceptional online experiences with innovative design and technology.

Try Big Bulk Discount To Boost Your Store Sales with Volume/Tier Discount