How to change positioning of cards in cart page

Highlighted
Explorer
86 7 14

Hello,

 

As the topic says, I'd like to know how can I make cards in the cart page aligned to the center. I want to change that ONLY on mobile. Everything is fine on the desktop. The photo below explains. Thank you in advance!

 

Untitled.png

0 Likes
Highlighted
Shopify Partner
1023 214 463

@Dumax 

 

Send me your store URL so I can check and assist you better.

 

Thank you,

Tejas

Shopify Expert | Skype: tejas.nadpara
- Like and Mark as an Accepted Solution if reply helpful
- Feel free to contact me on support@hexaecommerce.com regarding any help
0 Likes
Highlighted
Explorer
86 7 14
Highlighted
Shopify Partner
1023 214 463

@Dumax 

 

Go to the Assets > theme.scss.liquid file and add following code at the end of file:

@media only screen and (max-width: 768px) {
  div#container-card > div {
    margin: 0 auto;
  }
}

 

Thank you,

Tejas

Shopify Expert | Skype: tejas.nadpara
- Like and Mark as an Accepted Solution if reply helpful
- Feel free to contact me on support@hexaecommerce.com regarding any help
0 Likes