Help Center
How to Create Responsive Filters with Jet Offcanvas Column Addon

How to Create Responsive Filters with Jet Offcanvas Column Addon

Learn how to build mobile responsive filters with the Jet Offcanvas Column add-on from the JetSmartFilters plugin.

Before you start, check the tutorial requirements:

  • Elementor (Free version)

  • JetSmartFilters plugin installed and activated with a column with content to expand created

  • Jet Offcanvas Column add-on installed and activated

Things to know

With the help of the Jet Offcanvas Column add-on, you can hide not only filters but any other content located in a container or column.

Edit Column

Head to the page or template where you want the filters to be hidden on mobile and displayed once the button is clicked.

Once opened, press on the column or container icon you want to edit.

edit column button

Move to the Advanced tab and unfold the Offcanvas Settings section. Then, activate the Enable option to uncover the following customization settings.

enable offcanvas settings

Initially, we change the default Expand Label and Collapse Label to desired options.

Then, move to the Expand Background Color and Expand Text Color fields to alter colors if needed.

labels and expand button settings

Also, the default Typography can be adjusted by pressing the pencil-shaped icon.

expand typography settings

The following settings allow setting the desired “Expand” button position by adjusting the Expand Padding and Expand Margin.

As well you can change the Border Type and Expand Border Radius.

Now we make alterations to the following Expand Button Icon by selecting the “filter” icon from the WordPress icon gallery.

Additionally, change the Icon Size if needed.

expand button icon settings

The same settings are available for the “Collapse” button. 

We leave the default Collapse Background Color and change the Collapse Text Color.

The Typography can also be customized for the “Collapse” button.

collapse typography settings

Feel free to alter the Collapse Padding, Collapse Margin, Border Type, and Collapse Border Radius values if needed.

Here, we also change the Collapse Button Icon to the arrow-shaped button from the WordPress icon library.

Click the “Publish/Update” button to save the settings.

collapse button icon

Check the Result

Open the page you have just edited in Elementor. Filters will be displayed in the usual way.

filters on the search page

However, let’s check the page via phone or by opening the responsive mode via Developer Tools on the desktop.

The “Expand” button (here, “Filters”) is now displayed; click on it.

filters button on front end

The container is open. By pressing the “Collapse” button (here, “Back”), the filter pop-up will be closed.

collapse button in pop-up

Create Collapse Button

Additionally, you can make any element a “Collapse” button. For instance, we will make the “Apply” button close the filters pop-up.

Find or add the needed widget in the column or container you will hide.

apply button settings

Head to the Advanced tab and add the ‘offcanvas-collapse’ value into the CSS Classes field.

This class will work once the user clicks directly on the element with this class or a button inside the element with this class.

Press the “Publish/Update” button to save the result.

apply button css class

Return to the front end page to check the result. Click the “Expand” button to open the container with filters.

Complete the filters and hit the “Apply” button; this way, the window also will be closed.

apply button to collapse pop-up

That’s it; now you know how to hide filters in a button with the Jet Offcanvas Column add-on.

Was this article helpful?

Need help?

Ask Facebook community

Get answers from 22K Crocoblock Community experts from all over the world.

Start a live chat

Ask question to support agent and share its details via chat messages.