select offcanvas mode


Hello! I need to change the 'mode' attribute of the offcanvas menu according to the official documentation page https://getuikit.com/docs/offcanvas. It is now set to 'push' mode, but I can't find where it's set.

I already tried solutions spreaded on the web which involve use of filter replacements but none worked. I also tried to change the 'mode' attribute after page load via javascript with no results because the attribute is set only after user clicks the navbar toggle button.

How can I achieve what I need? Thank you!

Write a reply

Login or register to write a reply, it's free!