Shopify themes, liquid, logos, and UX
Hi,
I am using the Crave theme and I was wondering if it was possible to get all the text (product title, price, quick add, etc) under the image of the product to be centered instead of aligned left?
On the featured collections section on the homepage as well as the separate collections pages.
Site: www.moosh-moosh.com
Thanks
HI @argnarb ,
You can follow the steps here:
Step 1: Shopify admin > Online store > Customize: https://prnt.sc/XQ6IDB99kUCd
Step 2: From the left menu > Theme settings > Open Custom CSS: https://prnt.sc/ypQ7nly2wv27
Step 3: Copy the code below and paste it there
Here is the code for step 3:
.card__content .card__information * {
text-align: center !important;
}
.card__content quick-add-bulk.quick-add-bulk > quantity-input.quantity.cart-quantity {
margin-inline: auto !important;
}
Here is the result:
Please let me know if it works!
Best,
Daisy
This worked, thank you!
Hello @argnarb
Go to online store ----> themes ----> actions ----> edit code ----> assets ----> component-card.css
add this code at the end of the file and save.
.card__heading {
text-align: center !important;
}
.card-information > :not(.visually-hidden:first-child) + :not(.rating):not(.card__information-volume-pricing-note) {
text-align: center !important;
}
result
If this was helpful, hit the like button and accept the solution.
Thanks
2m ago Learn the essential skills to navigate the Shopify admin with confidence. T...
By Shopify Feb 12, 2025Learn 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, 2025