
-
AuthorPosts
-
October 21, 2025 at 9:10 am #1490451
Hello.
We’ve created a portfolio filter on a long content homepage. We’re using the Filter Everything PRO plugin to create the filter.
When selecting a category from the filter, the page reloads to the top of the homepage.
See the homepage at this link: https://limousin.eus/website2025/How can we make it so that every time we interact with the filter, the page loads in the same place, without returning to the top of the homepage?
The plugin has an Ajax option. I’ve activated it and created an ID (product-results) for the section of the page where the filter appears. It works, but the images don’t load.
I’ve disabled Lazy Load in the preferences, but the images still aren’t displayed.What can we do?
Thank you.
October 21, 2025 at 10:53 am #1490458Hello,
We’ve spoken with the creator of the filtering plugin, and he asked us to add this CSS code to view the images:
.js_active .grid-image {
opacity: 1 !important;
}The images are now visible, but they’ve changed from square to rectangular. If you refresh the page, they appear square again.
What could be the problem with the filtering not displaying square images? Lazi loading?
I’m sending you this comment from the creator of the filter:
Well, it is a quick workaround, not ideal, as we do not know what exactly this JS code is doing. So you might want to contact the theme support and ask them which function you can use in this code wrapper>
jQuery(document).on(‘ready’, function(e){
/* Plugin function to re-init, e.g. jQuery(“[data-fancybox]”).fancybox(); */
});
So after AJAX filtering, this JS code will reinitialize and apply all of the required changes to the images. Usually, the theme support should provide such information without any issues. It could be lazy loading for images or something like animations. But most likely, just looking at the page, they’d know what it is.Thanks.
-
AuthorPosts
- You must be logged in to reply to this topic.