Forums › Forums › Search & Filter Pro › Problems with menu
Tagged: ajax
- This topic has 4 replies, 2 voices, and was last updated 5 years, 9 months ago by Anonymous.
-
Anonymous(Private) January 21, 2019 at 8:59 am #199446
Hello Support / Trevor,
I have a filter with Ajax on my website, base is wordpress and elementor.
Had by accident masonry put on (and off again) via Elementor and had troubles then with the size of my result blocks. some were stretched. When I put off Ajax it was all good again but then I had no smooth filtering anymore. So I copied the Java code in my footer supplied here: https://searchandfilter.com/documentation/3rd-party/elementor/(function ( $ ) {
“use strict”;// detects when the ajax request has finished and the content has been updated
// re-init the layout scripts from Elementor
$(document).on(“sf:ajaxfinish”, “.searchandfilter”, function(){
elementorFrontend.init();
});}(jQuery));
I used “Head, Footer and Post-plugin” and footer injection.
The pictures became normal with Ajax again, but I have a problem with my menu. The arrows next to the menu titles for the dropdown become +1 every time I push a filter item. I will add a picture of that with my following reply. -
AuthorPosts