This topic contains 3 replies, has 2 voices, and was last updated by Sofia Moss 8 years, 4 months ago.
Category selector always open
The topic ‘Category selector always open’ is closed to new replies.
This topic contains 3 replies, has 2 voices, and was last updated by Sofia Moss 8 years, 4 months ago.
Would like to have category always open.
Can’t find the code in js.
Little help would be great.
Thanks!
Hi there,
To show Category filter by default, you can either use shortcode [SUPER-STORE-FINDER CAT=examplecategory] or if you don’t have a category to show by default and wish to show all categories with the category panel open, you can edit js/mega-superstorefinder.net
Search for the following code:
$els.storeLocatorInfoBox.self.find('.infobox__closer').on('click', function(e) { e.preventDefault(); map.infobox.self.close(); });
And change the code (add a new line of code) as below:
$els.storeLocatorInfoBox.self.find('.infobox__closer').on('click', function(e) { e.preventDefault(); map.infobox.self.close(); }); jQuery('#filter__services .filter__toggler').trigger('click');
The topic ‘Category selector always open’ is closed to new replies.