Solved

How to center align text on custom content products?

dylanjasper16
Shopify Partner
17 0 2

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!

Accepted Solution (1)

dmwwebartisan
Shopify Partner
12280 2546 3694

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 | #1 Product Filter & Search app on Shopify | The most powerful Shopify page builder app

View solution in original post

Replies 3 (3)

dmwwebartisan
Shopify Partner
12280 2546 3694

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 | #1 Product Filter & Search app on Shopify | The most powerful Shopify page builder app
dylanjasper16
Shopify Partner
17 0 2

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

You're a legend!

dmwwebartisan
Shopify Partner
12280 2546 3694

@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 | #1 Product Filter & Search app on Shopify | The most powerful Shopify page builder app