filtering products on mobile
- BodavParticipant2 years, 12 months ago #28102
Hello, a question about the category filters on mobile. we have a lot of clients complaining that hey are not working on mobile, and then i check and it’s perfect. what happening is that they open the mobile sidebar and click on a category from the wpsolr facets, and indeed it seems nothing is happening because the sidebar stays open and there’s no some sort of confirmation that anything changed so they think it’s not working.. what do you suggest we can do about it? is there a way to close the sidebar and notify somehow that the filtering was success or something?
wpsolrKeymaster2 years, 12 months ago #28103Probably because the loading gif and overlay are centered on the results container, which is not really visible while the mobile sidebar popup is open.
You can change that with the option “Ajax Overlay container” in the “Theme” extension:
– .res_facets
To center the overlay on the facets– #main
To center the overlay on the whole page- This reply was modified 2 years, 12 months ago by wpsolr.
wpsolrKeymaster2 years, 12 months ago #28107No option for that, because it depends on the theme’s behaviour.
But a javascript event is triggered after the overlay is closed:
jQuery(document).trigger(‘wpsolr_on_ajax_success’);You should be able intercept this event in some theme’s custom javascript, to close your theme’s mobile popup.
BodavParticipant2 years, 12 months ago #28108will try, thanks.
i also noticed that the filters on the siderbar, are overiding theme setting and i can’t actually remove the sidebar from ONLY shop page. i decided to use categories only on freshuk.co.il/shop so am trying to hide the siderbar just for that page, and theme settings are not affecting the filters?
You must be logged in to reply to this topic.