Access a community of over 900,000 Shopify Merchants and Partners and engage in meaningful conversations with your peers.
Hey, I'm trying to move the collection description to the bottom of the collection page... I watched this video, but it doesn't work for me. My website is greenpolarbear.org
Thanks!
Solved! Go to the solution
This is an accepted solution.
Hi Nina,
Thank you for providing me the theme you're using! This makes it easy for me!
Please go to your theme code by clicking Action > Edit Code.
Then, locate your collection-template.liquid file.
Then add this code right before the last </div> tag:
{% if collection.description != blank %}
<div class="rte collection-description page-width">
{{ collection.description }}
</div>
{% endif %}
Hit save and check if the description ALSO appears at the bottom of your page.
If it does, it means it works and you can proceed to remove the description at the top.
You can do this by hitting CTRL+F and search for: "description".
You should find this code:
{% if collection.description != blank %}
<div class="rte">
{{ collection.description }}
</div>
{% endif %}
and this code:
{% if collection.description != blank %}
<div class="rte collection-description page-width">
{{ collection.description }}
</div>
{% endif %}
You can either delete them completely or if you want to play it safe if you ever want it back in the future, you can add : "and false" to the if statements.
Likeso
{% if collection.description != blank and false %}
This will always be false hence never showing the description at the top. To reenable the description at the top simply remove the "and false" to it's original state!
Hope it helps!
Hi Nina!
Yes it can definetely be done with some code editing.
Could you please tell me what theme you're using so I might be able to guide you a bit more in details?
Thank you!
Okay great! I'm using the debut theme
Hello, do you mean this description? Yes, I can help. It's actually need to edit your code. So, If you are interested please share me your store information. Don't worry I am professional here (https://www.upwork.com/freelancers/~01a13b2b094c9faf04)
Thanks,
Zahid ( zahid3d9@hotmail.com )
Thanks, but I would like to learn it myself 🙂
This is an accepted solution.
Hi Nina,
Thank you for providing me the theme you're using! This makes it easy for me!
Please go to your theme code by clicking Action > Edit Code.
Then, locate your collection-template.liquid file.
Then add this code right before the last </div> tag:
{% if collection.description != blank %}
<div class="rte collection-description page-width">
{{ collection.description }}
</div>
{% endif %}
Hit save and check if the description ALSO appears at the bottom of your page.
If it does, it means it works and you can proceed to remove the description at the top.
You can do this by hitting CTRL+F and search for: "description".
You should find this code:
{% if collection.description != blank %}
<div class="rte">
{{ collection.description }}
</div>
{% endif %}
and this code:
{% if collection.description != blank %}
<div class="rte collection-description page-width">
{{ collection.description }}
</div>
{% endif %}
You can either delete them completely or if you want to play it safe if you ever want it back in the future, you can add : "and false" to the if statements.
Likeso
{% if collection.description != blank and false %}
This will always be false hence never showing the description at the top. To reenable the description at the top simply remove the "and false" to it's original state!
Hope it helps!
how great!! It worked right away, thanks a lot!!! :))
Glad it helped!
If you could mark my answer as an accepted solution this would be very appreciated!
Have a great day!
I Move that to button of collection page but i need to show two line of description in top of the collection page other thinks will be button it is possible to do
please give me best suggestion
Thank you
Please share your site link here in reply or privately here in my mail zahid3d9@hotmail.com I could help you. Thanks
Hi Oliver,
Thank you for providing this solution. I was wondering if you could provide the same advice for the Venture theme as I can't seem to locate the "collection-template.liquid" file?
Any help would be greatly appreciated!
James
Worked for me too! Thanks!