Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hello,
I'm trying to center align all the product titles and prices. I'm using the Atlantic theme. Does anyone know how to do this? Or which code to edit?
Solved! Go to the solution
This is an accepted solution.
Hi @LeannaP
Please following below steps:
Step 1: Go to Online Store->Theme->Edit code.
Step 2: Search file theme.css
Step 3: Paste the below code at bottom of the file -> Save
.product-card-details {
text-align: center !important;
align-items: center;
flex-flow: column wrap;
display: flex;
}
Hope it will help...
Hi @LeannaP
You can try this code by following these steps:
Step 1: Go to Online Store->Theme->Edit code.
Step 2: Search file theme.css
Step 3: Paste the below code at bottom of the file -> Save
#PageContainer .product__title,#PageContainer .product__price{
display:block;
text-align:center
}
Hope my solution works perfectly for you!
Best regards,
Victor | PageFly
Hi Victor! Thanks for the info. Unfortunately this didn't change anything for me 😞
This is an accepted solution.
Hi @LeannaP
Please following below steps:
Step 1: Go to Online Store->Theme->Edit code.
Step 2: Search file theme.css
Step 3: Paste the below code at bottom of the file -> Save
.product-card-details {
text-align: center !important;
align-items: center;
flex-flow: column wrap;
display: flex;
}
Hope it will help...
You can give the URL and after that, I will give you the code again
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025