Archived topic
Cart with Value Total and Item Number
3 replies · Started by Matt on May 12, 2020
Viewing posts 1–4 of 4
I'm trying to get my cart to show number of items and value below the number of items. span.amount span.number-of-items not sure how to use the flex or whatever to get them to stack on top of each other and both show up.
Hi there,
Give this a shot:
.cart-contents>span.number-of-items {
display: inline-block;
top: -20px;
}
.cart-contents>span:not(:empty) {
margin-left: -5px;
}
Works exactly the way I hoped it would. Thank you!
You're welcome :)
This archived topic is closed to new replies.