Shopify themes, liquid, logos, and UX
Hello,
Does anyone know the code to change the menu icon and cart/search icon colour on mobile only. I need it to be light on desktop, but dark in mobile (attached image shows on mobile how it doesn't show up against background).
URL: crababblecrafts.com
password: abble
Solved! Go to the solution
This is an accepted solution.
Hi @KJD
Try this one.
@media only screen and (max-width: 749px){
header#site-header * {
color: black;
}
}
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Hello @KJD ,
Follow these steps:
1. Go to Online Store -> Theme -> Edit code
2. Open your base.css file and paste the following code below:
@media screen and (max-width: 768px) {
#site-header svg {
color: #000 !important;
}
}
Thanks
This is an accepted solution.
Hi @KJD
Try this one.
@media only screen and (max-width: 749px){
header#site-header * {
color: black;
}
}
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Discover how to increase customer engagement on your store with articles from Shopify A...
By Jacqui Apr 23, 2025Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025