[Resolved] Cart with Value Total and Item Number

Home Forums Support [Resolved] Cart with Value Total and Item Number

Home Forums Support Cart with Value Total and Item Number

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1281360
    Matt

    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.

    #1281715
    Tom
    Lead Developer
    Lead Developer

    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;
    }
    #1282354
    Matt

    Works exactly the way I hoped it would. Thank you!

    #1282783
    Tom
    Lead Developer
    Lead Developer

    You’re welcome 🙂

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.