All things Shopify and commerce
Hi team,
I hope you’re well,
I bought the “Collection 5” from the section store. See the images.
It’s also live on my store, but whenever I click on any category: the “collections section” will still be shown on the new page. How can I hide this whenever I open a new category?
Even if you go to “terms of service”, the collections section will still be visible.
Thanks,
Regards,
SGV
Solved! Go to the solution
This is an accepted solution.
You can follow the following steps:
1. Please go to the Online Store.
2. Then Edit Code.
3. Please find the theme.liquid file.
4. Please add code before closing the tag </body> tag.
{% if template != 'index' %}
<style>
.section-sections--24148992622937__ss_collection_5_t3h6CW.collections-sections--24148992622937__ss_collection_5_t3h6CW {
display: none !important;
}
</style>
{% endif %}
If this solution is worked, then please Like this and Mark this as accepted solution!
Laddi
This is an accepted solution.
You can follow the following steps:
1. Please go to the Online Store.
2. Then Edit Code.
3. Please find the theme.liquid file.
4. Please add code before closing the tag </body> tag.
{% if template != 'index' %}
<style>
.section-sections--24148992622937__ss_collection_5_t3h6CW.collections-sections--24148992622937__ss_collection_5_t3h6CW {
display: none !important;
}
</style>
{% endif %}
If this solution is worked, then please Like this and Mark this as accepted solution!
Laddi
Worked! But it's not like that the new page opens immediately. You will see the collections section flash first before the new page opens.
Hello @Smartgearvalley
Go to online store ----> themes ----> actions ----> edit code ---->base.css
add this code at the end of the file and save.
.section-sections--24148992622937__ss_collection_5_t3h6CW.collections-sections--24148992622937__ss_collection_5_t3h6CW {
display: none !important;
}
result
If this was helpful, hit the like button and accept the solution.
Thanks
You made the collections section disappear completely. I could remove that as well. But it should be showing on the homepage and not when i click on the category or go to any new page.
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024