How to center align text on custom content products?

Solved
dylanjasper16
Tourist
11 0 1

Hi everyone,

I'm using the custom content feature to showcase flavors of these products, the images look great but the text is aligned left and I can't find a way to align them center. I've looked everywhere and I can't figure it out.

Here's a screenshot of what I'm talking about: https://snipboard.io/1OB2m4.jpg

 

The store URL is https://meridian-hive-texas.myshopify.com/

password: k9design

 

Thanks in advance!

dmwwebartisan
Shopify Partner
7351 1738 2322

This is an accepted solution.

@dylanjasper16 

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

.product-card__title, dl.price.price--listing{
display: block !important;
text-align: center;
}

Hope this works.

Thanks!

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 →
dylanjasper16
Tourist
11 0 1

Thank you so much! That's so much better!

You're a legend!

0 Likes
dmwwebartisan
Shopify Partner
7351 1738 2322

@dylanjasper16 

Thank you for your response. It's good to know that it's worked for you. Kindly feel free to get back to me if you need any further assistance.

 

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