Change Cart Count color in navigation
I’d like to change the cart count icon in the navigation bar. I set the header background as the same theme color that’s used for that and now it doesn’t stand out enough.
I tried updating various classes in the html but haven’t had any luck. Perhaps it isn’t a background class that gives it it’s color?
<div class=”sh-header-cart-count cart-icon sh-group”> <p class=”p1″><span>1</span></p> </div>
</div>
Tried
.cart-icon span {background:#f00 !important;}
.cart-icon {background:#f00 !important;}
.sh-header-cart-count {background:#f00 !important;}
Attachments: You must be
logged in to view attached files.
Hi @tmattevc ,
I hope you are well today and thank you for your question.
You can change it by adding the following CSS code in the Custom CSS code option of your theme on the below path.
Admin Area -> Appearance -> Theme Settings -> Custom Code -> CSS Code
#page-container .cart-icon span {
background-color: #f00 !important;
}
Best regards, Shufflehound team
Popular choice Professional Developers At Your Fingertips! If you need services beyond standard support, we've got your back!
Let's get started
Services we offer: Graphic work / visualizations Full WordPress development and design
We use cookies to enhance your experience. By continuing to visit this site you agree to our use of cookies.Got it