This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Reply To: Masonry custom size

#41810
Ernest MarcinkoErnest Marcinko
Keymaster

I see some redirects on the network tools, maybe there is already a filter applied for the page and they just loop endlessly with each other.

This might be a dead end.

What if we tried a different approach via the results templating feature. I think I have an idea to change the featured image container to an image container, and then adding some custom styles. It could actually work.

– Please copy this file into your theme directory to wp-content/your-active-theme/asp/isotopic.php
You will have to create that directory.

This will override the default isotopic result output.

Then also add this custom CSS anywhere:

.isotopic .results .item {
    height: auto !important;
    padding: 0 !important;
}

If all goes well, then the isotopic search results will display in various heights depending on the image dimensions.