-
AuthorPosts
-
May 20, 2016 at 6:45 pm #636022
Hi there,
Following this fantastic solution you gave in to this request https://kriesi.at/support/topic/bug-elegant-blog-layout-category-pages-show-no-featured-image/ i am wondering how can i apply the same layout for the posts that get populated in the search results loop.
I have tried this https://kriesi.at/support/topic/adding-images-to-the-search-result/ but the outcome is much poorer than in your solution in the above request for the populated posts in categories and tags. The preferable blog layout is single-big.
Any suggestions?
thnx
May 23, 2016 at 9:02 am #636622Hey George,
Can you post a link to your site please.
Best regards,
JosueMay 23, 2016 at 2:16 pm #636781There you are
May 23, 2016 at 2:25 pm #636786Also another very weird issue I have
Featured images as part of grid view (blog) look ok but inside a single post -sometimes- they show completely different (don’t align properly, they get cropped etc) links attached.
The preferable view of course is the one that shows the image correct!
Any suggestions for that ?
- This reply was modified 8 years, 7 months ago by george.
May 26, 2016 at 3:02 am #638395Hi,
The search template will require custom modifications if you want it to look like the default blog layout. Please contact codeable: http://kriesi.at/contact/customization
Regarding the thumbnails, the max size of the featured image in the single post page is set to 845x321px. Install the following plugin then go to the Settings > Media panel, adjust the max width and height of the “entry_with_sidebar” and “entry_without_sidebar” thumbnails. Save, update then regenerate the thumbnails: https://wordpress.org/plugins/simple-image-sizes/
Best regards,
IsmaelMay 30, 2016 at 2:40 pm #640399I ll give it a try and i ll come back to let you know
June 2, 2016 at 7:40 pm #642187Maybe i didn’t explain correctly what we need to do here.
The featured image of our posts is not always the same size for every post. So we are not after a unique and strict size for the featured images inside the single post page.
As explained, when i see the posts as part of the blog page ie. 3 in a coloumn, the featured images of the posts, look exactly the way we need ie. no matter how tall or wide they are, they always adopt and without getting cropped fit naturally. The problem is inside the post, in the single post page, where, the same featured image that looked fine before, now gets resized and positioned in a very weird manner.
I understand that when in single post page, the featured image behaves as thumbnail so it has to follow some attributes. But when i tried to set a size as you suggested using the plugin above, the outcome is again not the same as in the blog view of the posts and definitely not the desired; (obviously it has to do with the fact that not all images are the same size – so not a universal rule could apply).
What we just need to do for them is to make them fit naturally inside the top of the post – as it already happens when we are looking at the them as part of the blog page.
Is there a way of doing that?
thnx
- This reply was modified 8 years, 6 months ago by george.
June 3, 2016 at 8:24 am #642444Hi,
Make sure you’re editing the
entry_with_sidebar
image size, also don’t forget to re-generating the thubmnails.Best regards,
JosueJune 7, 2016 at 2:05 pm #644058Hi there!
Ive done that, but I need you to have a look on the way the image gets positioned in the single post page. There is always a weird empty space on the right hand side of the image. And that happens for all blog posts in the category view as well.
Have i done something wrong in the css?
thnx
- This reply was modified 8 years, 6 months ago by george.
June 8, 2016 at 4:46 am #644502Hey!
Try adding this code to the Quick CSS:
.big-preview img { width: 100%; }
Cheers!
JosueJune 8, 2016 at 3:38 pm #644907Spot on !
Many thnx!
-
AuthorPosts
- The topic ‘fetaured images in posts in search results’ is closed to new replies.