-
AuthorPosts
-
April 19, 2015 at 1:24 am #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.
April 20, 2015 at 10:37 am #431194Hey dominiquehurley!
Thank you for coming back.
As much as I see you already solved the problem.
Best regards,
GünterApril 20, 2015 at 10:47 am #431200Hi 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=0Yes, they appear under the magnifier. Cool little feature. I forgot to say press enter.
Thanks.April 21, 2015 at 8:41 am #431811Hey!
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,
IsmaelApril 21, 2015 at 9:10 pm #432382Thank 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.April 22, 2015 at 5:26 pm #432990Hey!
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,
ElliottApril 22, 2015 at 9:29 pm #433134Thank 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.
April 24, 2015 at 4:29 pm #434204Hi!
Yes, you can drag it over to a child theme and edit it there.
Best regards,
ElliottApril 24, 2015 at 4:42 pm #434223Sorry- 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.
April 24, 2015 at 4:48 pm #434234instead of the counter or just before the headline ?
you can try by using pseudoclasses ::before and ad content in this wayfor 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."; }
April 24, 2015 at 5:35 pm #434286oh sorry didn’t realise that the featured image is meant – sorry again
April 25, 2015 at 2:13 am #434534Thank 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.
April 25, 2015 at 7:46 am #434622not dangerous but you will loose them after upgrading.
So you than have to do all that changings again.April 25, 2015 at 1:51 pm #434689Thanks Guenni007 . That’s what I needed to know. Resolved.
DominiqueApril 27, 2015 at 7:02 am #435041April 27, 2015 at 8:56 pm #435615Resolved. Please close. Thanks.
-
AuthorPosts
- The topic ‘Any way to get a thumbnail to appear with the posts in Search’ is closed to new replies.