Need help centering product titles and prices on debut theme

nickfromtc
New Member
1 0 1

Hello, I've been trying to center my product titles and prices on the debut theme all day now. Watched multiple YouTube videos and read tons of community posts and nothing is working. I cant find theme.css.liquid or whatever and I've tried copy and pasting code to my theme.liquid and theme.css mentioned in other community posts and nothing seems to work. My website is "ttakecare.com". My coding skills are limited and this is just very stressful. Any help would be much appreciated!

Replies 2 (2)
dmwwebartisan
Shopify Partner
9765 2228 3065

@nickfromtc 

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 →
Nazmulhasan
Excursionist
10 3 3

Hey @nickfromtc

I know your feeling man, trying out solutions randomly just to find out they don't work is frustrating asf. However, this is a simple solution, just follow the instruction carefully once again.

1. Go to Online Store > Actions > Edit Code > Assets > theme.css

2. Open the theme.css and go to the very bottom of the file.

3. Paste this code snippet at the very end. 

.grid-view-item__title.product-card__title {display: block;text-align: center;}
.price__regular {margin: 0 auto}

This should result something like this:

Nazmulhasan_1-1635058233583.png

Ping me if you still face difficulty.

 

If found helpful Like & Mark as Accepted solution
~ Email: nazmulhasankazal@gmail.com
~ Skype: live:nazmulhasankazal