Shopify themes, liquid, logos, and UX
Hi,
I am looking to change the spacing between the product title and the description.
I added the description in as a product subtitle. I then added it into card-product.liquid
Like this:
</h3>
<div>{{ card_product.metafields.custom.productsubtitle }}</div>
Thanks for the help!
Solved! Go to the solution
This is an accepted solution.
Hi @andrew72
To show on the coffee collection not on the home page.
Check this one.
From you Admin page, go to Online Store > Themes
Select the theme you want to edit
Under the Asset folder, open the main.css(base.css, style.css or theme.css)
Then place the code below at the very bottom of the file.
.section-template--16080751362202__featured_collection-padding div.card__information > div:nth-child(2) {
display: none;
}
And Save.
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Hey @andrew72
Welcome to Shopify Community! Can you share your Store URL so I can have a look on it? Also, if you have password enabled then please share the password as well. Your cooperation would be greatly appreciated.
Best Regards,
Moeed
I'm unable to see the description added in your product cards, can you add that so I can help you out?
Best Regards,
Moeed
Hi Moeed,
One has been added now as seen in the photo.
Thank you!
Hey @andrew72
Follow these Steps:
1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code in the bottom of the file above </body> tag
<style>
.card__information div:nth-child(2) {
padding-top: 15px !important;
padding-right: 10px !important;
}
</style>
RESULT:
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Hi Moeed,
Thanks so much for this help. I have managed to implement that.
Is there a way to make this description only show on the Coffees page and not home page under the coffee name?
Thanks, Andrew
Hey @andrew72
Keep the previous code and add this new code above </style> in the end of theme.liquid file.
.section-template--16080751362202__featured_collection-padding div.card__information > div:nth-child(2) {
display: none !important;
}
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
This is an accepted solution.
Hi @andrew72
To show on the coffee collection not on the home page.
Check this one.
From you Admin page, go to Online Store > Themes
Select the theme you want to edit
Under the Asset folder, open the main.css(base.css, style.css or theme.css)
Then place the code below at the very bottom of the file.
.section-template--16080751362202__featured_collection-padding div.card__information > div:nth-child(2) {
display: none;
}
And Save.
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
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