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
Hi @Smartgearvalley
Can you please share your store URL?
Thanks
@Smartgearvalley
You can follow the following steps:
- Please go to the Online Store.
- Then Edit Code.
- Please find the theme.liquid file.
- Please add code before closing the tag tag.
{% if template != 'index' %}
{% endif %}
If this solution is worked, then please Like this and Mark this as accepted solution!
Laddi
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
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.
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.