Shopify themes, liquid, logos, and UX
Hi,
we are using the "reach" theme and I was wondering how I can change the color of the cart-count-item to red:
At the moment it´s really hard to see and we need to highlight this a bit.
Solved! Go to the solution
This is an accepted solution.
Please add the following code in your assets/theme.scss.liquid or theme.css or stylesheet.css file. Which is present in your assets folder.
@media screen and (max-width: 768px){
span.site-header-action-icon-cart-count { color: #000 !important; }
.site-header-action-icon-cart-count{ background: #fff !important; }
}
Hope this works.
Thanks!
So I am using the Debut theme so not 100% sure this would work.
In my header.liquid file I have the following line, this displays the cart count. I figure you just need to apply the color here.
<span data-cart-count>{{ cart.item_count }}</span>
This is an accepted solution.
Please add the following code in your assets/theme.scss.liquid or theme.css or stylesheet.css file. Which is present in your assets folder.
@media screen and (max-width: 768px){
span.site-header-action-icon-cart-count { color: #000 !important; }
.site-header-action-icon-cart-count{ background: #fff !important; }
}
Hope this works.
Thanks!
Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024Digital marketers and app developers have tracked activity in apps and websites for yea...
By Ollie Mar 13, 2024February was an exciting month with Shopify Editions, informative webinars, and more! F...
By JasonH Mar 7, 2024