fbpx

The filters button on the shop page to open the hidden sidebar

HomeTopicsSupport forumThe filters button on the shop page to open the hidden sidebar
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #14276
    Avatar
    gary
    Participant

    Hi Artem Im nearly there with the website now! Its looking so so good client is so happy.

    There is one request that they have made but im not sure that it is possible? They would like the filters button on the shop page to open the hidden sidebar instead of the shop filters widget area – image attached to explain.

    (For some reason when I put the woocommerce filters into that widget area they don’ work, but they work in the hidden sidebar) I have had to disable ajax shop in order for the filters to work correctly also as Woocommerce Filters Ajax seems to not work once your ajax gets loaded.

    Also one small thing that I cant figure out is in Mobile View the custom Futura font is not getting loaded for the Product Headers and page titles

    If this goes outside of the Support scope I totally understand

    Many thanks

    Gary

    Attachments:
    You must be logged in to view attached files.
    #14287
    Artem Temos
    Artem Temos
    Keymaster

    Hello,

    You can put the following snippet to the Custom JS on document ready section

    jQuery('.xts-filters-area-btn').on('click', function(e){
    	e.stopPropagation();
    	e.preventDefault();
    	jQuery('.xts-sidebar-opener').trigger('click');
    });

    and use the following CSS to hide the second button

    .xts-sidebar-opener {
    	display:none !important;
    }

    Kind Regards

    #14520
    Avatar
    gary
    Participant

    Thanks a mill that worked perfect much appreciated

    #14523
    Artem Temos
    Artem Temos
    Keymaster

    Great, you are welcome. Let me know if you have any further questions.

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘The filters button on the shop page to open the hidden sidebar’ is closed to new replies.

Sign in

No account yet?

Create an Account