Tagged: enfold, featured image, thumbnail
-
AuthorPosts
-
November 19, 2015 at 5:45 am #538720
So my blog is set into a single view big mode. But the category view and tag view is under grid view and I would like to implement the same over my main blog page.
The deal is that whenever I enable that, the images don’t fit the thumbnails. The should scale to the thumbnail box but they don’t. I went through your forum and tried some solutions but it did not work. Can you help with it?
Adding a screenshot. You can see the images are partially visible here and parts of it cut out.
- This topic was modified 9 years ago by venkidesigner.
November 19, 2015 at 5:32 pm #539107Hey any update?
November 19, 2015 at 11:12 pm #539260Hey!
Try replacing line 49 in the /enfold/includes/loop-index.php file with this.
$current_post['slider'] = get_the_post_thumbnail($current_post['the_id'], 'full');
Send us a link to your page if that does not work for you.
Cheers!
ElliottNovember 24, 2015 at 6:15 am #541331I tried the second. It did not work.
This is the change I madesvn diff wordpress/wp-content/themes/enfold/includes/loop-index.php
Index: wordpress/wp-content/themes/enfold/includes/loop-index.php
===================================================================
— wordpress/wp-content/themes/enfold/includes/loop-index.php (revision 10662)
+++ wordpress/wp-content/themes/enfold/includes/loop-index.php (working copy)
@@ -34,7 +34,7 @@
$size = strpos($blog_style, ‘big’) ? (strpos($current_post[‘post_layout’], ‘sidebar’) !== false) ? ‘entry_with_sidebar’ : ‘entry_without_sidebar’ : ‘square’;if(!empty($avia_config[‘preview_mode’]) && !empty($avia_config[‘image_size’]) && $avia_config[‘preview_mode’] == ‘custom’) $size = $avia_config[‘image_size’];
– $current_post[‘slider’] = get_the_post_thumbnail($current_post[‘the_id’], $size);
+ $current_post[‘slider’] = get_the_post_thumbnail($current_post[‘the_id’], ‘full’);if(is_single($initial_id) && get_post_meta( $current_post[‘the_id’], ‘_avia_hide_featured_image’, true ) ) $current_post[‘slider’] = “”;
November 25, 2015 at 6:15 am #542136Any updates?
November 29, 2015 at 10:37 pm #544217Team, any updates?
November 30, 2015 at 6:14 am #544300Hi!
Sorry for the delay – but just for future reference – self posting in your thread resets it’s position to the last position in our queue.
May we have temporary admin access to your website so we can take a closer look?
Cheers!
DakeDecember 7, 2015 at 6:40 am #547775Yes, here are the details below. Please have a look.
- This reply was modified 8 years, 11 months ago by venkidesigner.
December 7, 2015 at 6:59 am #547781Hey!
I’m getting an error when using the provided credentials on your login page.
Do you have a specific backend login link?
Regards,
DakeDecember 20, 2015 at 11:16 pm #555689Please hold on, will provide a new login. I am out of town for till 25th.
December 21, 2015 at 9:15 am #555816Hi,
I can’t see any login details in your last reply, please post the correct ones in the Private Content area of your reply.
Best regards,
RikardDecember 21, 2015 at 1:41 pm #555891I have changed the password. Please try again. Did you roll out a recent update because our category pages have changed totally to a horizontal scroll layout. Please take a look at the private data once more.
- This reply was modified 8 years, 11 months ago by venkidesigner.
December 22, 2015 at 5:55 am #556342Hi,
I wasn’t able to verify if the login details work or not since the regular WordPress login pages are not working, please post a link to the login page as well.
Regards,
RikardDecember 22, 2015 at 9:03 am #556390Refer to this link in the private content field.
December 28, 2015 at 2:03 am #557642Hey!
I checked your loop-index.php file but the change was not in there. I added it in.
Clear your browser cache and the W3 Total Cache and check.
Best regards,
ElliottDecember 29, 2015 at 6:27 am #558007Hey Elliot,
As you can see in the link provided below, after the changes that you made yesterday. I can’t seem to see that the images fit inside the frame of the grid layout yet. Could you please help me understand what went wrong and can you login and try to fix it up?
I’ve also added a screenshot showing the same issue.
January 3, 2016 at 2:06 am #558887Hey!
On that specific page your using the blog posts element. When you use the blog posts element all you need to do is edit the blog posts element and set the image size to “No Scaling”.
Regards,
Elliott -
AuthorPosts
- You must be logged in to reply to this topic.