Archived topic
cart amount number css problem
3 replies · Started by johnaps on May 10, 2021
Hello GP Team!
I had a problem with my cart icon not showing a number when items in the cart were 0.
I solved that with the bellow css
.cart-contents > span.number-of-items.no-items::before {
content: "0";
}
Now when you load a page the 0 gets show twice like this 00 for a few split second before it gets fully loaded...
I think i had stumbled in this problem in the past and you had helped me...
Care to help me again cause i cant find more on this?
Thank you in advance!
Hi there,
I would think this is some sort of caching problem.
Have you tried disabling your caching plugin to test?
If the issue is resolved before, you should be able to find it in your own topics as well:
https://docs.generatepress.com/article/using-the-premium-support-forum/#forum-profile
thank you very much :), i think it was wprocket!
No problem :)