How to manage or customize category content in the category slider
In the category slider, you can customize category content from the Category Content Settings section in the Display Options tab.
You can hide or show the category name and description, change their colors and margins, and show a product count with its own position, prefix, suffix, and color.
After you save the slider, the storefront uses these content settings for each category in the slider.
In The Article
How to set it up
You customize category content in the category sliderβs Display Options tab, in the Category Content Settings section.
If you still need to create a category slider, see How to create a category slider. To present that content in a card-style block, see How to make category slider as a card/flat style.
Step 1: Open Display Options
- Open the category slider in Dotstore Plugins > Banner Management > Slider Settings.
- Open the Display Options tab.
- Find the Category Content Settings section.
Step 2: Customize category content
Use the options in this section to hide or show the category name and description, change colors, and more:
Category Nameβ Hide or show the category name in the slider. When you enable this, a few more options related to the name appear.Category Name Colorβ Change the category name color.Category Name Marginβ Set the category name margin on each side (top, right, bottom, and left) in px or em.Product Countβ Enable this if you want to show the total number of products available in a particular category.Product Count Positionβ Show the product count Beside category name or Under category name.Product Count Beforeβ Set the character or text that appears before the product count number.Product Count Afterβ Set the character or text that appears after the product count number.Product Count Colorβ Set the product count color.Descriptionβ Hide or show the category description in the slider. When you enable this, a few more options related to the description appear.Description Colorβ Change the category description color.Description Marginβ Set the category description margin on each side (top, right, bottom, and left) in px or em.
Step 3: Save the slider
Save the slider so the category content settings are used on the storefront.
What the customer sees
Each category in the slider shows the name, product count, and description according to the options you enabled and the colors and margins you set. In the example below, the product count appears beside the category name, with text before and after the number.
Pro Tips
- Turn Category Name or Description off if you want to hide that text in the slider
- Use Product Count Before and After to wrap the number in characters such as parentheses, for example (4)
- Choose Beside category name or Under category name in Product Count Position, depending on how you want the count to sit with the title
Common Use Cases
Here are some popular ways store owners use this setting:
1. Show the Name, Count, and Description
Enable Category Name, Product Count, and Description, then set colors and margins so each category shows a title, a product count, and a short description.
2. Place the Product Count Beside the Name
Enable Product Count, set Product Count Position to Beside category name, and use Product Count Before and After if you want characters around the number.
3. Hide the Description
Turn Description off if you want the slider to show the category name (and optionally the product count) without the category description.
FAQs
1. Where do I customize category content?
Open the category slider, go to the Display Options tab, and use the Category Content Settings section.
2. What does Product Count show?
It shows the total number of products available in that category. You can place it beside or under the category name and set text before and after the number, plus the count color.
3. Can I hide the category name or description?
Yes. Turn Category Name or Description off, then save the slider.