I'm trying to remove specific collections from my All Collections page.

I was trying to remove some specific collections from my All Collections pages. I found many codes online but the problem is i want to remove 30 plus collections from my All Collections page and when i use this code to remove Collections it created empty spaces on the pages and even a whole empty page in the middle. It seems like the Collections are not visible now but shopify still counts them in pagination. How can i fix this? I used this code to hide collections and my store them is Publisher> >

> >

You stayed you’ve tried many code I would suggest changing your theme

Hello @Mahi-S9080

If you want to show or have only 50 collections to be shown and remove all other then I would suggest you to create a new section and select blocks and add collection of you choice.

This needs some liquid logic. So if you are not good with it I recommend you to seek help from a developer.

Let me know if you need one.

Thanks