Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #487273

    Hello,

    Is it possible to display the featured image of a post on the search results page?

    #487345

    Hi Deborahvwdj!

    Try this out, https://kriesi.at/support/topic/add-featured-image-to-search-results/.

    Best regards,
    Elliott

    #487599

    Thanks, it worked! I want to change the size of the thumbnail to 180px x 180 px, in a square. I tried changing the code, which made the image a square image of 180px, but the text didn’t show next to the image.

    Please take a look at this screenshot:

    #487666

    Hey!

    Can you please post the link to your website?

    Cheers!
    Yigit

    #487670

    Hi Yigit,

    Unfortunately that’s not possible, since I’m developing on a local server. I can post a screenshot of ‘inspecting element’ if that helps?

    #487677

    Hey!

    Please add following code to Quick CSS in Enfold theme options under General Styling tab

    .search-result-counter { border-radius: 0 !important; }

    Cheers!
    Yigit

    #488738

    Thankyou, the code worked. This is how the search results page looks like:

    Screenshot search results

    Is it possible to make the image thumbnails bigger, 180px x 180px?

    • This reply was modified 9 years, 3 months ago by dvwdj.
    #489322

    Hey!

    Wordpress is defining automatically image sizes and you can control it with a plugin like this: https://wordpress.org/plugins/simple-image-sizes/

    Regards,
    Andy

    #489927

    Hi Andy,

    That’s not exactly what I mean. I want the thumbnails that appear on the search results page bigger. They are now 44 x 44px, but I want them 180px x 180px. When I changed the CSS code, they got bigger, however, the title and excerpt don’t move to the right, which results in the thumbnail on top of the text. Please take a look at this screenshot:

    I used this code:

    .search-result-counter {
    padding: 0;
    width: 180px;
    height: 180px
    }

    .search-result-counter img {
    width: 180px;
    height: 100%;
    }

    The image also appears stretched, how can I fix this? The other thumbnails in my blog posts are cropped, not stretched..

    • This reply was modified 9 years, 3 months ago by dvwdj.
    #489929

    Hi!

    Please add following code to Quick CSS as well and adjust as needed

    #top .template-search.content .entry-content-wrapper { padding-left: 150px; }

    Regards,
    Yigit

    #490628

    Thankyou, the code worked.

    The thumbnail images still appear to be stretched. Any idea how I can fix that?

    #490735

    Hi!

    I am afraid, we are going to need to see your website live to provide you a solution. We need to inspect elements

    Cheers!
    Yigit

Viewing 12 posts - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.