I am trying to center align my title and prices within my collections. I am using the following code within my theme.css
.grid{
text-align:center !important;
}
dl.price {
display:grid !important;
justify-items: center !important;
}
However, It doesn’t appear to be lining up correctly. At first glance it looks like it was correct but if you look at the difference between the three titles and prices, it differs based on how long the title is. How can I fix this?
Thank you for reaching out and posting this question!
I understand you’re looking to center the titles and prices for your collections. If you’re using a Shopify-supported theme, then this is something that our Theme Support team can help you with. However, it’s important to note that your store needs to be subscribed to a plan in order to be eligible for the complimentary design time offered by our Theme Support. While we’re not able to provide account-specific support via the Shopify Community at this time, we’d be happy to continue assisting you through live chat, email, or callback. Please visit the Shopify Help Center and log in to your account to create a support request.
If you’re using a third-party or custom theme, then I’d recommend checking with the theme designer on support for your theme. If the developer doesn’t offer customization support, then you can consider hiring a developer to help you with your theme. That being said, if you need help finding a developer, I’d recommend taking a look at our directory of certified developers on Shopify Experts.