Shopify themes, liquid, logos, and UX
Hi All,
In the Symmetry theme, I would like to change the color of the mobile navigation text in the navigation drawer. By default, the text is black, but I want to make the "Sale" header red using custom CSS. I was able to achieve this for the desktop view, but I'm having trouble getting it to work for the mobile view. How can I adjust the CSS to specifically target the "Sale" link in the mobile navigation?
Solved! Go to the solution
This is an accepted solution.
Thanks for the info, check this one.
From you Admin page, go to Online Store > Themes
Select the theme you want to edit
Under the Asset folder, open the main.css(base.css, style.css or theme.css)
Then place the code below at the very bottom of the file.
.navigation__item a[href="/collections/spring-sale"] {
color: red;
}
And Save.
Result:
You also have some code, but it needs to be edit. If you know where this code is, you can simply edit it. This file is located in the theme.liquid.
You have this code.
Now you can replace on this or edit it.
.navigation__link[href="/collections/spring-sale"] {
color: red;
}
And Save.
This will show both mobile and dekstop.
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Would you mind sharing your store URL? Thanks!
This is an accepted solution.
Thanks for the info, check this one.
From you Admin page, go to Online Store > Themes
Select the theme you want to edit
Under the Asset folder, open the main.css(base.css, style.css or theme.css)
Then place the code below at the very bottom of the file.
.navigation__item a[href="/collections/spring-sale"] {
color: red;
}
And Save.
Result:
You also have some code, but it needs to be edit. If you know where this code is, you can simply edit it. This file is located in the theme.liquid.
You have this code.
Now you can replace on this or edit it.
.navigation__link[href="/collections/spring-sale"] {
color: red;
}
And Save.
This will show both mobile and dekstop.
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024