- This topic has 3 replies, 2 voices, and was last updated 6 years, 1 month ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
These forums are now closed and remain for historical purposes.
None of the content applies to the new version 3. For support, get in touch via our contact form.
Forums › Forums › Search & Filter Pro › Image Alignment
Hi Melissa
There will be different answers to this depeding on one setting.
Which display results method are you using in your search form?
Also, do you have a link to the page in question?
Thanks
Hi Melissa
While we don’t usually write custom layouts, I’ve gone ahead and put something together.
What you will need to do is 2 things:
1) Modify the results template
a) Start by copying the results.php file into your theme folder (following instructions here – https://searchandfilter.com/documentation/search-results/using-a-shortcode/#customising-the-results)
b) Replace the contents of your new results.php, with the contents of this gist – https://gist.github.com/rmorse/70dfeb6f58f9685a2266d779244b75a8#file-sf-pro-results-template-example-php
Note – keep the filename as results.php
2) Add css to your theme
Add this CSS to your theme:
https://gist.github.com/rmorse/870914c28e93fb270965b9e0b933e0e4
I hope that helps 🙂