images in search results

This topic contains 5 reply and 3 voices, and was last updated by towhid 8 years, 10 months ago
Viewing 5 Posts - 1 through 5 (of 5 total)
Author Posts
May 31, 2015 at 7:29 pm 45762
towhid please how do i make product images show in search results
June 1, 2015 at 12:41 pm 45801
towhid towhid

Hello Obiora,

If you are using dokan theme then please navigate to themes/wedevs-dokan/content.php and find out below line

<?php the_excerpt(); ?>

And replace the following line of code with the above line.

<div style="float:left;" class="thickbox">
                <a href="<?php the_permalink() ?>" rel="bookmark"><?php the_post_thumbnail('thumbnail'); ?></a>
            <?php the_excerpt(); ?>
            </div>

Thanks

June 14, 2015 at 11:01 pm 52062
Kerstin Kerstin

Thank you very much for that.
I changed the code to this – and not sure if I did it right:


Now when I type the search term ‘horse’ in my website’s search box (http://unique-equestrian-gifts.com)
I get a very strange looking result with different fonts and lines going through the thumbnails. Do you know how to fix this?
Thanks,
Kerstin

June 15, 2015 at 10:36 am 52073
towhid towhid

Hello Kerstin,

Use following CSS in the theme’s style.css and let me know the result please.

.thickbox {
  float: none !important;
}
June 16, 2015 at 2:40 am 52130
Kerstin Kerstin

Unfortunately, this code doesn’t work. The same problem is still there. Have you any other ideas?
Thanks!

June 16, 2015 at 11:34 am 52142
towhid towhid

Please provide your login details by using this form: http://wedevs.com/provide-login-details/. I will have a look what is going wrong.

Thank you 🙂

Viewing 5 Posts - 1 through 5 (of 5 total)