The Grid - How to hide the option All?

Hey guys. How can I hide the option “All” in my photo gallery I made with The Grid.

I have categories as filters but I would like to hide the option ALL since it’s NOT a category.

Best,

Robert

Hello Robert,

Thanks for writing in!

If you want to get rid of the “All” in the gallery page, please add the following CSS code in the X > Theme Options > Global CSS (http://prntscr.com/evui3r)

.tg-filter[data-filter="*"] {
    display: none;
}

Just keep in mind that since “All” is removed, all items is only loaded once as you load the page. As the user click on the categories, he will no longer have a way to display all the items once more.

Hope this helps.

it did the work. Thanks.

Glad we were able to help :slight_smile:

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.