• Resolved longqdo

    (@longqdo)


    Hi!

    How do I align the quantity box and the add to cart button to the center on the single product page?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Stef

    (@serafinnyc)

    It’s best to post a url so we can help you.

    Plugin Support Riaan K.

    (@riaanknoetze)

    Hi there,

    The alignment is heavily dependent on the theme CSS to check what’s possible in terms of overriding that with additional custom CSS. With this in mind, can you share a URL where that quantity field is misaligned?

    Thread Starter longqdo

    (@longqdo)

    Hi!

    Thank you for your reply! So this is where the quantity and the add to cart button is not centered.

    http://tintruc.info/sanpham/dlu-5490n-7-dlu-5490n/

    Stef

    (@serafinnyc)

    You could add a little CSS to move that to center.

    For Desktop you could use:

    
    .summary.entry-summary .cart{
         margin-left:30% !important;
        
    }
    
    

    For Mobile I’d stick with maybe 15 to 20:

    
    .summary.entry-summary .cart{
         margin-left:20% !important;
        
    }
    
    Thread Starter longqdo

    (@longqdo)

    Thank you, it worked perfectly!

    Stef

    (@serafinnyc)

    You’re very welcome

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Quantity & Add To Cart Button Alignment’ is closed to new replies.