Hide the collections section

Solved

Hide the collections section

Smartgearvalley
New Member
4 0 0

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

Accepted Solution (1)
laddisahsi
Shopify Partner
435 43 44

This is an accepted solution.

@Smartgearvalley 

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

-Shopify website development, Theme & App Development
-Contact me: WhatsApp


-Email Me
-If this solution is worked, then please Like this and Mark this as accepted solution!

View solution in original post

Replies 6 (6)

laddisahsi
Shopify Partner
435 43 44

Hi @Smartgearvalley 
Can you please share your store URL?

Thanks

-Shopify website development, Theme & App Development
-Contact me: WhatsApp


-Email Me
-If this solution is worked, then please Like this and Mark this as accepted solution!
Smartgearvalley
New Member
4 0 0
laddisahsi
Shopify Partner
435 43 44

This is an accepted solution.

@Smartgearvalley 

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

-Shopify website development, Theme & App Development
-Contact me: WhatsApp


-Email Me
-If this solution is worked, then please Like this and Mark this as accepted solution!
Smartgearvalley
New Member
4 0 0

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.

Rahul_dhiman
Shopify Partner
725 142 149

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
122.png

If this was helpful, hit the like button and accept the solution.
Thanks

 

Was I helpful?

Buy me a coffee


Want to modify or custom changes or bug fix on store . Or Need help with your store? Or -Want Complete Storefront
Email me -rahul@prowebcoder.com - Skype: live:dhiman.639

Checkout Apps by me

Smartgearvalley
New Member
4 0 0

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.