Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • #430793

    When we do a search and a whole list comes up on a page – is there a way to get the featured image to appear as a thumbnail? We’d taken images off for the top image for the individual blog post pages. Not sure if that makes a difference here.
    To see what I mean, you can go to http://dominiquehurley.com and use the search magnifier in the menu bar. Search for Vienna and press Enter. You’ll see a list. That’s where I’d like thumbnails beside each to add a bit of colour to the page.

    Thanks.

    #431194

    Hey dominiquehurley!

    Thank you for coming back.

    As much as I see you already solved the problem.

    Best regards,
    Günter

    #431200

    Hi Günter – I mean on the actual Search Result Page. See attachment
    https://www.dropbox.com/s/yr0c53cqkt6ftlf/Screen%20Shot%202015-04-20%20at%206.15.04%20AM.png?dl=0

    Yes, they appear under the magnifier. Cool little feature. I forgot to say press enter.
    Thanks.

    #431811

    Hey!

    If you want the featured image to show in the search results page, you can follow the modifications provided here: https://kriesi.at/support/topic/add-featured-image-to-search-results/#post-249161

    If you want larger images, add this in the Quick CSS field:

    span.search-result-counter, span.search-result-counter img {
      width: 100%;
      height: auto;
      position: relative;
      border-radius: 0;
    }

    Regards,
    Ismael

    #432382

    Thank you – the search, replace and add tasks seem simple, but I can’t find the
    edit includes > loop-search.php
    Where do I look for that? I even googled to try and avoid asking too many questions here, but no luck. Sorry.
    What do I open to find the lines of code? Thanks.

    #432990

    Hey!

    You can find that file in the /enfold/includes/ folder which can be viewed when you login to your server with an FTP client.

    You can also edit this file in Dashboard > Appearance > Editor.

    Best regards,
    Elliott

    #433134

    Thank you. Wonderful. I’m not working on a child theme. Will that be OK? Once I get your answer, this one will be resolved. Much appreciated.

    #434204

    Hi!

    Yes, you can drag it over to a child theme and edit it there.

    Best regards,
    Elliott

    #434223

    Sorry- that’s not what I meant Elliot. I don’t have a child theme. That was above my technical skills and I was advised that I wouldn’t need one as I’m not making big changes to the theme, only CCS Quick Code. My question is whether having gone in to edit includes > loop-search.php might cause issues because I don’t have a child theme. It seemed like a bigger edit to the theme than a Quick CCS. Thanks.

    #434234

    instead of the counter or just before the headline ?
    you can try by using pseudoclasses ::before and ad content in this way

    for example:

    .search-results h2::before {
        content: "abc";
    }

    for abc you can take every content you want “Θ” or somthing like this

    if it is not to long you can put in the circle content:

    
    span.search-result-counter::before {
        content: "No.";
    }
    #434286

    oh sorry didn’t realise that the featured image is meant – sorry again

    #434534

    Thank you Guenni007. I actually managed to get the image to appear in the circle using the recommendations earlier in the post. My question is whether those steps were “dangerous” if not using a child theme. Would it cause the site to break when I update. I’m sorry, I don’t seem to be using the right language – it’s not clear.

    i updated the site and it’s still working. so we can close this one. Thanks.

    #434622

    not dangerous but you will loose them after upgrading.
    So you than have to do all that changings again.

    #434689

    Thanks Guenni007 . That’s what I needed to know. Resolved.
    Dominique

    #435041

    Hi!

    Great, glad you got it fixed :)

    Regards,
    Rikard

    #435615

    Resolved. Please close. Thanks.

Viewing 16 posts - 1 through 16 (of 16 total)
  • The topic ‘Any way to get a thumbnail to appear with the posts in Search’ is closed to new replies.