Skip to main content
All CollectionsHow can I setup and install the Website Integration?
How can I hide the category quantities on my Item Gallery?
How can I hide the category quantities on my Item Gallery?

Here is how you can hide the category and subcategory quantities on your Item Gallery.

Sierra Burton avatar
Written by Sierra Burton
Updated over 5 months ago

You can hide the category and subcategory quantities on your Item Gallery using the CSS code snippets below.

Hiding Category Quantities

// Hides top-level category count badges

.gspro-o-category > a > .gspro-u-badge {

display: none;

}

Below is an example of how this appears in Squarespace. After adding the code snippet, the category quantities disappear.

Hiding Subcategory Quantities

// Hides sub-category count badges

.gspro-o-subcategories > li > a > .gspro-u-badge {

display: none;

}

Below is an example of how this appears in Squarespace. After adding the code snippet, the subcategory quantities disappear.

Hiding the Category and Subcategory Quantities

To hide both, keep the code snippets separate when adding them. This ensures they are recognized as separate snippets that must be used together.

Below is an example of how this appears in Squarespace. After adding the code snippet, the category and subcategory quantities disappear.

Did this answer your question?