Forum

The forum is a free service supported by community members. Please consider opening a support ticket if you need timely help.

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 06 Sep 2018 12:55 PM by  J T
Filter - Keep it open upon use?
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages


New Member


Posts:58
New Member


--
21 Aug 2018 05:12 AM

    Hi there

    I've been fiddling with the standard panel filter. I've modified it so that I get the collapsible mobile view in all screen sizes, because it's nice for it to not be open until needed.

    However, it collapses itself each time a selection is made and then one has to re-open it again.

    I've tried a couple of options to keep it open, but without a good result. So the question is - Do you know how to keep the mobile view open when the page reloads after a selection is made? Any tips appreciated.

    Regards
    rob

    0


    Basic Member


    Posts:394
    Basic Member


    --
    06 Sep 2018 12:55 PM

    Hi Robert

    If you look at the display template, there are a few lines that control how Bootstrap makes the navbar visible in mobile and hides the panel. Notice the -xs tells it to make it visible when the screen is extra small (mobile). So you want to tweak with the -xs and change it for -lg (large)

    <nav class="navbar navbar-default visible-xs">

    <div id="rvdsfProductFilterPanel" class="collapse-xs">

    I hope this helps.

    0
    You are not authorized to post a reply.