Open Off Canvas Area

Hi, I have created an off-canvas area in the header of a new site that I am building. Embedded via shortcode is a map plugin with directions. Works fine… BUT if I use the shortcode again anywhere else on the page it causes a conflict with the API.

However I also wanted the VISIT off canvas the bottom of the page to also load the map in an OC area. So, what I need to do is turn the ‘VISIT’ toggle into a button and then open the OC in the header using the button - so the page only has the one map

I know how to make the button look the same as the OC toggle in the header, but can you please can you let me know how to link a button to the OC in the header?

Thanks for your help

Hi @wolfproductions,

Thanks for reaching out.
If I am able to understand your requirements, you want to open a Off Canvas using a Button. If that is the case, please go through the following thread which will help you acheive that.

Thanks

Thanks Tristup, that’s great.

Hi @wolfproductions,

Glad that we are able to help you.

Thanks

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