Second Off Canvas Trigger on a page

I’m attempting to use this example:

Has anything changed that would prevent this from working in the current version of Pro? Nothing happens when I click the button.

Hello Sheri,

Thanks for writing in!

You do not need to add any custom code. With the latest release, you can actually launch the Off-Canvas element by clicking a button element. To do that, please do the following:
1.) Insert your Off-Canvas element in your custom header.

2.) In your Off-canvas element, add a Toggle Hash, eg my-off-canvas . You can do that in “Customize” tab:

3.) And then insert a Button element on your page. Use the toggle hash as #my-off-canvas as your href or link.

Hope this makes sense.

1 Like

Great. Thanks!

Hello Sheri,

Glad that @ruenel was able to help you. Please feel free to reach us if you have any queries regarding our theme and theme settings.

Thanks

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.