Re: Need help centering product titles and prices on debut theme

Need help centering product titles and prices on debut theme

nickfromtc
Visitor
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
12321 2552 3729

Nazmulhasan
Shopify Partner
10 3 5

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: [email protected]
~ Skype: live:nazmulhasankazal