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!
Are you ready to take your business to the next level? Look no further than the latest ...
By SarahF_Shopify Apr 15, 2024We’re keeping the ball rolling to make sure you’re always ahead of the game. So buckle ...
By JasonH Apr 8, 2024Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024