Solved

change the text color of submenus of dropdown from black to white only for mobile view.

OneClothing
Visitor
3 0 0

Hey,

 

I want to change the text color of submenus of my site from black to white only for mobile view. Can you please share the code?

here's the link to my store:

https://oneclothing.co/

 

Here's the screenshot of submenus from mobile screen

 

3a1d1878-5c0d-4433-b89f-c62815b1b5bd.jpg

Accepted Solution (1)

Sweet_Savior_3
Shopify Partner
1187 96 115

This is an accepted solution.

Hello @OneClothing 

 

Welcome to Shopify Community.

 

Please paste the given code in theme.css file:

@media screen and (max-width: 768px), screen and (max-width: 1024px) and (orientation: portrait) {
.site-nav .submenu-holder .underline-animation {
    color: #fff;
}
}

 

OUTPUT:

Sweet_Savior_3_0-1711657343796.png

 

Thanks

Don't forget to like and accept the solution to help others store owners.
Looking for an expert or Have any queries ? Send query to the Inbox
Coffee Tip ? Pay to shopify.dev.34@gmail.com
From Less To Further !!!

View solution in original post

Replies 2 (2)

Sweet_Savior_3
Shopify Partner
1187 96 115

This is an accepted solution.

Hello @OneClothing 

 

Welcome to Shopify Community.

 

Please paste the given code in theme.css file:

@media screen and (max-width: 768px), screen and (max-width: 1024px) and (orientation: portrait) {
.site-nav .submenu-holder .underline-animation {
    color: #fff;
}
}

 

OUTPUT:

Sweet_Savior_3_0-1711657343796.png

 

Thanks

Don't forget to like and accept the solution to help others store owners.
Looking for an expert or Have any queries ? Send query to the Inbox
Coffee Tip ? Pay to shopify.dev.34@gmail.com
From Less To Further !!!
OneClothing
Visitor
3 0 0

it worked. Thank you!!