|
↳ See all 14 articles
/ Documentation /Astra Pro Modules/Enhance (Integration Modules)/WooCommerce/ Off-Canvas Sidebar for WooCommerce Shop Page

Off-Canvas Sidebar for WooCommerce Shop Page

This is a premium feature available with the Astra Pro Addon plugin. To use these Pro features, you need to have the Astra theme along with the Astra Pro Addon installed on your website.

You can manage the sidebar using the WooCommerce module available with Astra Pro. Please refer to the document to begin with, the WooCommerce module.

WooCommerce Addon provides an Off-Canvas Sidebar option for the Shop page. Settings can be found under Appearance > Customize > WooCommerce > Product Catalog.

The off-Canvas Sidebar is part of the navigation strategy. The sidebar is initially moved out of the screen and out of view as well. To make the sidebar appear, you have to enable the filter option from the Toolbar option. When you click on the trigger, the Off-Canvas Sidebar appears. This option works very well with all responsive devices as well.

Enabling-filter-from-toolbar-structure

Since this is a sidebar, you need to set it up using WordPress widgets. Or you can even add third-party widgets.

Set Off-Canvas Sidebar trigger

There are three ways to showcase the Off-Canvas Sidebar trigger:

Link

When you choose the shop filter button as a link, the filter appears in the three-line menu.

Astra-Shop-filters0-link

Button

When you choose the shop filter as a button, it appears as a button. As mentioned before, the default theme color & styling are applied to the button.

Astra-Shop-filters-button

Custom Class

This custom functionality lets you set/place the Off-Canvas Sidebar trigger anywhere on the entire website. The trigger for the Off-Canvas Sidebar can be placed in the header, above the header, in the footer, or anywhere else, as per the requirement.

Astra-shop-filters-custom-class

Here, you need to specify the off-canvas sidebar class name in the Custom Class field. This can be any name you want. Now you can use this class name anywhere on your site.

For example, you could add the off-canvas sidebar class name you specified to any button on your website. You can add a class name in the advanced tab button settings. This way, the button will become a trigger for your off-canvas sidebar.

WooCommerce Filter Class

Note: The Custom Class triggers the off-canvas sidebar only on the shop page. It will not trigger it on any other page. For example, if the button with a custom class is added to the header. Then, clicking on the button will trigger the off-canvas sidebar only on the shop page and not on other pages.

Add Widgets To Your Off-Canvas Sidebar

After enabling the option, the off-canvas sidebar will not trigger until you add widgets (filters) to it.

To add widgets, go to Appearance > Widgets > Shop Filters. Simply drag and drop the widgets from the Available Widget option.

Astra Pro - WooCommerce Off-canvas Filter - Add Widgets, Astra 3.0+

Once you add the widgets, you can manage further customizations from the customizer.

Was this doc helpful?
What went wrong?

We don't respond to the article feedback, we use it to improve our support content.

Need help? Contact Support
On this page
Want Faster Support?
Priority support within 2 hours
Best engineers to address you
Exclusive discounts on other products
Scroll to Top