• Resolved kuzcotopia

    (@kuzcotopia)


    Hi Jory,

    I am building a products archive page with product filters in the sidebar. This is a standard WP sidebar, as seen in the Widgets area.

    What I am trying to accomplish:

    • show this sidebar for desktop users, on the left
    • show a button to expand the sidebar for mobile users

    The problem: With your plugin I can not use the same sidebar but need to rebuild the another sidebar for the mobile users. Normally this should not be an issue, but now the product filters are loaded double on the page, this way they do not work..

    So I need to use the same sidebar twice: visible for desktop, expandable with a trigger for mobile. Is this possible with your plugin? The functionality I mean is like https://nl.www.ads-software.com/plugins/responsive-sidebar/, but they do not have this nice trigger options your plugin has.

    Dank ??

    Groet,

    Remco

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jory Hogeveen

    (@keraweb)

    Hi @kuzcotopia,

    Because of the way off-canvas sidebars work you indeed cannot re-use a sidebar that is rendered within the page.
    You could try if you can move the sidebar contents between these sidebars using jQuery. Make sure that the event listeners are maintained while moving. There is a high chance that such a method is not compatible with the filters.

    Functionality like you describe could work when using the “overlay” animation however this will require some manual customization on the plugin.
    Alternatively, making the plugin automatically select an existing sidebar instead of creating a new one is also currently not part of its features. You can try to customize this using the available hooks (there are many available).

    For customization outside the scope of the current state of this plugin you can go to the GitHub page (https://github.com/JoryHogeveen/off-canvas-sidebars/) and contact me there.

    Cheers en groeten! Jory

    • This reply was modified 10 months, 3 weeks ago by Jory Hogeveen.
    Thread Starter kuzcotopia

    (@kuzcotopia)

    Thank you very much for the fast en extensive reply!

    Makes a lot of sense..
    I am going to try your suggestion and customize it via the hooks.

    Cheers!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Use active WP sidebar for sliding in’ is closed to new replies.