Hi @met45,
Could you show your site URL, please?
@met45:
I just check and it is impossible. If your menu is too long, I recommend you use this plugin:
https://ww.wp.xz.cn/plugins/off-canvas-sidebars/
@famethemes,
Does this theme supports Off-Canvas Sidebars by default?
See installation: https://github.com/JoryHogeveen/off-canvas-sidebars/wiki/Theme-setup#simple-theme-setup
I can see the onepress_before_site_start hook in the header but the onepress_site_end seems to be on a wrong location (before #page close instead of after).
wp_footer isn’t officially supported as hook:
https://github.com/JoryHogeveen/off-canvas-sidebars/pull/58
If you want to support Off-Canvas Sidebars by default you could use the following filters to change the hooks: ocs_website_before_hook & ocs_website_after_hook.
Let me know!
Thanks, Jory
@keraweb
No. We don’t support Off-canvas by default. That is why I recommend you use this plugin:
https://ww.wp.xz.cn/plugins/off-canvas-sidebars/
Hello @famethemes,
I know, and I am the author of the Off-Canvas Sidebars plugin.
That is why I asked if your theme plans to support my plugin but it seems it currently doesn’t. See my first comment.
For the Off-Canvas Sidebars plugin to work your theme will need to correct hooks placed in the header.php and footer.php. And it looks like the footer.php doesn’t yet.
Please correct me if I’m wrong! 🙂
Hi @keraweb
Thank you for your suggestion. We will consider your request 🙂
Have a nice day!
Thread Starter
met45
(@met45)
Unfortunately I could not put it into operation the Off-Canvas Sidebars plugin, but find another Off-Canvas plugin and the ShiftNav is working.:)
-
This reply was modified 7 years, 7 months ago by
met45.