-
xameleon
Hello,
My site displays item count in basket on the desktop version, but on mobile it doesn’t show.
Can you help show it on mobile?
-
Hi there,
Can you clear and disable your caching plugin first?
And how did you move the basket icon from the primary navigation to the header?
-
xameleon
Hi!
Sometime ago you (not you particularly, someone else from here) gave me CSS to move it.
-
Fernando
Hi Xameleon,
Try adding this through Appearance > Customize > Additional CSS?:
.cart-contents > span.number-of-items { color: #000; }
-
xameleon
Thanks, it works.
However, the item count seems a little too distant from the cart. Can it be made to be closer?
https://prnt.sc/a3KHP6pOgMIj -
David
Hi there,
update the CSS to:
.cart-contents > span.number-of-items { color: #000; width: auto !important; }
-
xameleon
Hi,
Works fantastic.
Can it be made to show value in cart instead of item count?
-
David
in Customizer > LAYOUT > Woocommerce you can change the:
Menu Item Content
toAmount
-
xameleon
For desktop it works but for mobile it doesn’t show the amount. Perhaps it goes out of the screen. https://prnt.sc/G7GnrEs8PD6A
-
Can you link us to your site?
-
xameleon
It’s all good. I will use the Menu Item Content.
Thank you all. -
You are welcome 🙂
- You must be logged in to reply to this topic.