Change one word in mobile dropdown menu to custom color dawn theme

Solved

Change one word in mobile dropdown menu to custom color dawn theme

Crngrl
Visitor
3 0 0

Hello there,

 

I already changed my prefered word in the menu desktop version to my custom color

by using the below code in base.css

 

 

 

 

[href^="/collections/sale"] span {
    color: red!important;
}
Copy

 

 

 

Now i want to do the same thing in mobile version but i'm not able to do it. Can someone help ?

I am using Dawn Theme

Thanks in advance.

Accepted Solution (1)

Tal19
Shopify Partner
123 22 23

This is an accepted solution.

.menu-drawer__menu-item[href^="/collections/sale"]{
color: red!important;
}
Need Shopify Development, Customization, or POS Support? PM Me!

View solution in original post

Replies 5 (5)

Tal19
Shopify Partner
123 22 23

This is an accepted solution.

.menu-drawer__menu-item[href^="/collections/sale"]{
color: red!important;
}
Need Shopify Development, Customization, or POS Support? PM Me!
Crngrl
Visitor
3 0 0

Could you please be more specific ? Such as , where should i put that , and if that will work for my mobile version and it won't mess the desktop version? Thank you for your fast response!

Tal19
Shopify Partner
123 22 23

Online Store->Theme->Edit code then search base.css

add the attached css and click save.

Need Shopify Development, Customization, or POS Support? PM Me!
Tal19
Shopify Partner
123 22 23

You can share you store url and i'll double check the css selector for you

Need Shopify Development, Customization, or POS Support? PM Me!
Crngrl
Visitor
3 0 0

Thank you very much that worked like a charm.