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 expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025Expand into selling wholesale with Shopify Academy’s learning path, B2B on Shopify: Lau...
By Shopify Jan 28, 2025