Shopify themes, liquid, logos, and UX
I'm wanting to center the product text in my product cards on my home page but there is no option is my theme settings. I am using the Capital theme, what do I do?
Solved! Go to the solution
This is an accepted solution.
Hey @raidednz,
Go to your theme's "Edit Code" Option, then in the search bar type "theme.liquid"
Below the tag "<head>" tag paste the following. Screenshot attached for reference.
<style>
.product-item-details.below {
text-align: center !important;
}
</style>
Screenshot is for reference only, the correct code to paste is the one shown above.
@raidednz please provide website url.
Hey @raidednz,
Can you share the link to your store? If it's password protected, please remove it or share the password temporarily. If the theme is not published, please share a preview link.
Hey @ThePrimeWeb ,
Yep of course
https://4c5324-2.myshopify.com/?_ab=0&_fd=0&_sc=1
password: password123
This is an accepted solution.
Hey @raidednz,
Go to your theme's "Edit Code" Option, then in the search bar type "theme.liquid"
Below the tag "<head>" tag paste the following. Screenshot attached for reference.
<style>
.product-item-details.below {
text-align: center !important;
}
</style>
Screenshot is for reference only, the correct code to paste is the one shown above.
Please Go to
1) Online store
2) Themes -> Edit theme
3) Layout
4) theme.liquid and paste this code before </head>
<style>
.product-item-details .product--item-title {
text-align: center;
}
</style>
If my solution works, then please like and accept it as a solution.
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025