I'm hoping to add or modify code in init.js to trigger the side widget area or off canvas navigation from buttons linking to #sidewidgetarea in multiple places on the site.
Something to like:
jQuery('a[href$="sidewidgetarea"]').click(function(){
// select the correct css rule, add a class or js function here
}
I saw where this was once possible with an older version of the theme. I know there is an animation triggered by the hamburger's click. Is it possible to get some hints as to where in init.js is the function that reveals the off canvas nav?
I'm hoping to add or modify code in init.js to trigger the side widget area or off canvas navigation from buttons linking to #sidewidgetarea in multiple places on the site.
Something to like:
I saw where this was once possible with an older version of the theme. I know there is an animation triggered by the hamburger's click. Is it possible to get some hints as to where in init.js is the function that reveals the off canvas nav?
Thanks!
Hey,
You can find the relevant code in here : http://prntscr.com/j08pmq .
Best
ThemeNectar Support Team