how to center text on cart page using simple theme

jakecrt
New Member
2 0 1

Can someone please help me center the text on my cart page? I'm using the Simple theme any help would be greatly appreciated.

Solutions1
Explorer
100 12 23

Hello JakeCrt!

Please add the following code at the bottom of your assets/theme.scss.liquid file.

@media only screen and (min-width: 750px){
.cart__row td { text-align: center !important; }
}
.cart th { text-align: center !imporant; }
table { width: 100% !important; }

 

Let me know if this solve your issue

Thanks

Solution1

0 Likes
dmwwebartisan
Shopify Partner
7292 1721 2292

@jakecrt 

Please share your store URL.

If helpful then please Like and Accept Solution | Email: dmw.webartisan@gmail.com | Instagram: @dmw.webartisan
Check here PageFly App to customize your pages | Bag is a cart drawer that maximizes your sales. View app →
0 Likes
jakecrt
New Member
2 0 1

This didn't work for me and I ended up switching themes, but thank you for taking the time to try and help me.

0 Likes
LitExtension
Shopify Partner
1182 146 207

Hi @jakecrt

Please follow the steps:

- Step 1: Go to Online store > Themes > Actions > Edit code.

- Step 2: Go to Assets > theme.scss.liquid and paste this at the bottom of the file: https://i.imgur.com/7tm96JA.png

.cart-table th,

.cart-table td {

    text-align: center !important;

}

LitExtension - Shopping Cart Migration Expert
If our answer is helpful then please accept as solution!
Are you looking for a solution to migrate to Shopify? Contact us for further assistance.
Try our FREE DEMO now!
0 Likes