Shopify themes, liquid, logos, and UX
Hi, I want to change the color of my collcection title „PROMOCJE” on the mobile menu to red. Could anyone help me out? Thank you in advance!!!
hi, sure thing. Connect these two together
if it's possible, I would want the colour to be changed on the desktop view and on the mobile view. Thanks!!!
Hi @DigiDecoded
Check this one.
From your Shopify admin dashboard, click on "Online Store" and then "Themes".
Find the theme that you want to edit and click on "Actions" and then "Edit code".
In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
@media only screen and (max-width: 749px){
a#HeaderDrawer-promocja {
color: red;
}
}
And Save.
Result:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
hi, is there any code that makes it red both on the desktop view and the mobile view?
Check this one again.
a#HeaderMenu-promocja {
color: red !important;
}
And Save.
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
It works on the desktop view, but not the mobile view.
oh, i thoughr they have same codes. replace on this one.
a#HeaderMenu-promocja, a#HeaderDrawer-promocja {
color: red !important;
}
And Save.
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
still not working on the mobile view. 😞
Add this one.
Add dont replace.
@media only screen and (max-width: 749px){
a#HeaderDrawer-promocja {
color: red !important;
}
}
And Save.
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
it didn't work
#menu-drawer > div > div > nav > ul > li:nth-child(1) a {
color: red;
}
Paste this code next to the previous one.
2m ago Learn the essential skills to navigate the Shopify admin with confidence. T...
By Shopify Feb 12, 2025Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025