Forums › Forums › Search & Filter Pro › Excess whitespace on thumbnails after search
- This topic has 8 replies, 2 voices, and was last updated 5 years, 11 months ago by Trevor.
-
Anonymous(Private) December 9, 2018 at 9:25 pm #195659
If you check our search page: https://wholeearth.a2hosted.com/day/
You’ll see that when you click one of the filters the results suddenly have excess white space in their thumbnails. I don’t know where this is coming from and haven’t been able to figure out how to get rid of it even with cheaty CSS.
Thanks!
Trevor(Private) December 10, 2018 at 9:57 am #195660I am not seeing any difference. Are you able to suggest a particular search I should do to see this, and maybe provide an annotated screenshot to illustrate (you would need to give me a link to where I can see the screenshot, such as a file sharing site)?
Trevor(Private) December 11, 2018 at 8:57 am #195815Are you using our guide to Elementor Pro integration:
https://searchandfilter.com/documentation/3rd-party/elementor/
Note that the Masonry/Ajax code has since been changed, see here:
If you have done these, I think I may have seen the effect you describe before, and found a solution, but I will need to find it again, so get back to me about the above first.
Trevor(Private) December 18, 2018 at 8:38 pm #196857Yes I am using Chrome in Windows. But now I see it. And I think I have a fix:
Add this custom CSS to the theme:
body.sfajax .elementor-380 .elementor-element.elementor-element-6c9e0661 .elementor-posts-container .elementor-post__thumbnail { padding-bottom: 0 !important; }
Then you need to add a javascript to the page:
<script> (function ( $ ) { "use strict"; $(document).on("sf:ajaxstart", ".searchandfilter", function(){ jQuery("body").addClass("sfajax"); }); }(jQuery)); </script>
-
AuthorPosts