How to Center the Title of an Image in the CS-Gallery (Fresh Theme)

How to Center the Title of an Image in the CS-Gallery (Fresh Theme)

JBCo
Visitor
2 0 0

Hello,

 

I've added a cs-gallery to my store. I've added the images and I'm not adding the titles of each image. However, the titles are aligned to the left side and I'd like them to be centered. How can I edit this? I'm using FRESH as my store theme. 

 

Thank you! 

Replies 4 (4)

CoffeeAndCode
Shopify Partner
21 2 1

Hi @JBCo,

 

It's hard to say what exactly you'd need without a link to your store to view the page that you're talking about. But often times if you just add a "margin: auto;" style to an element then that will be enough to get it centered. Another option depending on the elements you're talking about, is to add a "text-align: center;" style to the element's parent container.

 

Spark Tools for Inbox - Power-up your Inbox chat: Customize icon, css, font, text, proactive messages, and more!
JBCo
Visitor
2 0 0

Hi!  Thanks for your help! I should have mentioned I'm not a developer, so I have no idea how to change the code. Would there be an easier option or do you have more specific instructions on where to add the code you're suggesting?  

CoffeeAndCode
Shopify Partner
21 2 1

Hi @JBCo

 

If you give me the store URL and the page that it's happening on I can try to walk you through applying a fix (also a screenshot could be helpful as well to make sure that I can find the issue you're speaking of).

 

Spark Tools for Inbox - Power-up your Inbox chat: Customize icon, css, font, text, proactive messages, and more!

DaisyVo
Shopify Partner
4460 499 595

Hi @JBCo 

 

Please share your store Url

 

Best,

 

Daisy

Please let us know if our reply is helpful by giving it a Like or marking it as a Solution!

Avada SEO & Image Optimizer - The #1 SEO solution