Shopify themes, liquid, logos, and UX
Hi,
I have spent the last 3 hours ripping my hair out over this.
All I want to do is change the menu item "Sale" to red.... that's it,
https://tokyobricks.com
I'm using the code:
.site-nav__link {[href="/collections/sale"]
color: red;
}
I've even tried !important but every time when I go to inspect my code is crossed out as if the theme is overwriting any changes.
The theme is boost.
Would really appreciate some help as It would pain me for something so simple to get the better of me.
Thanks a lot
Solved! Go to the solution
This is an accepted solution.
Hello @southstar ,
It's GemPages support team and glad to support you today.
Let's try adding this code:
.site-nav > .site-nav__item > .site-nav__link[href="/collections/sale"] {
color: red !important;
}
I tried and it displayed like that:
If you require any further information, feel free to contact me.
Best regards,
GemPages Support Team
Please use this css
.site-nav__item a[href="/collections/sale"] {
color: red !important;
}
This is an accepted solution.
Hello @southstar ,
It's GemPages support team and glad to support you today.
Let's try adding this code:
.site-nav > .site-nav__item > .site-nav__link[href="/collections/sale"] {
color: red !important;
}
I tried and it displayed like that:
If you require any further information, feel free to contact me.
Best regards,
GemPages Support Team
Please add below css code in bottom of assets/styles.css file
Hi @southstar,
Go to Assets > styles.css and paste this at the bottom of the file:
.site-nav .site-nav__item:nth-child(3) .site-nav__link {
color: #ff0000;
}
Hope it helps!
User | RANK |
---|---|
152 | |
127 | |
79 | |
73 | |
69 |
Explore the 30-30-30 rule, a dynamic social media strategy for new businesses. Learn how t...
By Trevor Sep 20, 2023Discover how to leverage the often overlooked footer of your ecommerce site to gain custom...
By Skye Sep 15, 2023In this blog, we’ll be shining a light on Shopify Partners, Experts, and Affiliates. Who a...
By Imogen Sep 13, 2023