How to set the number of columns for different devices in the category slider

In the category slider, you can set how many columns appear on different screen sizes for responsiveness.

The Category Column(s) field in the General Settings tab has five breakpoints: Large Desktop, Desktop, Laptop, Tablet, and Mobile.

After you save the slider, each device size uses the column count you set for that breakpoint.

How to set it up

You set the column counts in the category slider’s General Settings tab, using the Category Column(s)   field.

Open an existing category slider, or add a new one. If you still need to create a category slider, see How to create a category slider. Related layout settings are covered in How to set layout preset in the category slider.

Step 1: Open General Settings

  1. Open the category slider in Dotstore Plugins > Banner Management > Slider Settings.
  2. Open the General Settings tab.
  3. Find the Category Column(s)   field.
Category Column(s) field in the category slider General Settings tab
Figure - Set category slider columns

Step 2: Set the column count for each device

Category Column(s)   lets you decide how many columns to show on different screen sizes for responsiveness. The fields have default values, which you can change. There are five screen-size icons:

  • Large Desktop – Screens larger than 1280px.
  • Desktop – Screens smaller than 1280px.
  • Laptop – Screens smaller than 980px.
  • Tablet – Screens smaller than 736px.
  • Mobile – Screens smaller than 480px.

For example, if you want to show two columns in the category slider on a tablet, set the Tablet value to 2.

Category Column(s) with the Tablet field highlighted and set to 2
Figure - Set columns for Tablet

Step 3: Save the slider

Save the slider so the column counts are used on the storefront.


What the customer sees

On a tablet, a Category Column(s) value of 2 shows two categories side by side, as in the example below. Other devices use the column count you set for that screen size.

Category slider on a tablet showing two columns
Figure - Category slider on Tablet device

Pro Tips

  • Use a lower column count on Tablet and Mobile so category items stay easier to view on smaller screens
  • The fields include default values; you can keep them or change any breakpoint as you need
  • After you set the columns, you can still choose a layout preset; see How to set layout preset in the category slider

Common Use Cases

Here are some popular ways store owners use this setting:

1. Show Two Columns on Tablet

Set the Tablet value in Category Column(s) to 2 so tablet-sized screens show two categories side by side.

2. Show One Column on Mobile

Set the Mobile value to 1 so phones show a single category at a time.

3. Show More Columns on Large Desktops

Increase the Large Desktop value if you want more categories visible at once on wide screens.


FAQs

1. Where do I set the number of columns?

Open the category slider, go to the General Settings tab, and use the Category Column(s) field.

2. How many screen sizes can I configure?

Five: Large Desktop (larger than 1280px), Desktop (smaller than 1280px), Laptop (smaller than 980px), Tablet (smaller than 736px), and Mobile (smaller than 480px).

3. Do the fields have default values?

Yes. The fields have default values, and you can adjust the numbers as you want. In the settings screenshot above, the values shown are 4 (Large Desktop), 3 (Desktop), 2 (Laptop), 2 (Tablet), and 1 (Mobile).

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.