Shopify themes, liquid, logos, and UX
Hello,
I'd like the descriptions I added to my collections to display on the catalog. The collection titles are visible but not the descriptions. Is there a way to enable this? I didn't see an option for this in the theme editor. Thank you in advance for your help.
Solved! Go to the solution
This is an accepted solution.
Open up sections/featured-collection.liquid and add this code at line 27:
<div>{{ section.settings.collection.description }}</div>
The code should then look like this:
Note that this will make the collection description show up in any featured collection section.
To clarify, do you want to show the collections' descriptions on the page that lists all collections (/collections)?
To show the description from the collection that I created.
I have this collection in my catalog but only the title shows, not the information.
i added text boxes but I cannot place them between the title and collection.
store:
https://melanie-jean.myshopify.com/collections/best-sellers
store password: prayrttttttt
This is an accepted solution.
Open up sections/featured-collection.liquid and add this code at line 27:
<div>{{ section.settings.collection.description }}</div>
The code should then look like this:
Note that this will make the collection description show up in any featured collection section.
It works!
Thank you!
Thank you so much for your help with my previous request. I am revisiting this post because I just noticed that the code works great for desktop but for mobile, the width is too long. Is there a way to resize the width size for mobile only?
I'd be happy to take a look, can you post the current storefront password?
It looks fine for me, see the screenshot. The description is within the borders with margin left and right. Tried it on my Android 12 mobile too, looks the same.
Weird. Maybe its only on iphones? I have an iphone.
Possible, although it's not the iPhone or iOS per se, probably it's Safari (assuming that's what you're using). Maybe try Firefox or Chrome for iOS to see if it looks different. Although I doubt it, AFAIK all iOS browsers (have to) use Safari's rendering engine, WebKit.
And would you possibly know how to extend the number of characters/words presented in the description of this section?
I can't find any filter on that.
Hi Thomas, I have the same need of showing the description of the collections in the front page. Before applying your solution, may I ask how can I ensure the description is shown below the product grid? So I want the text to be shown after showing the products.
Thanks
Are you ready to take your business to the next level? Look no further than the latest ...
By SarahF_Shopify Apr 15, 2024We’re keeping the ball rolling to make sure you’re always ahead of the game. So buckle ...
By JasonH Apr 8, 2024Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024