-
AuthorPosts
-
May 18, 2016 at 4:19 am #634135
This was explained to me once and can not locate the post. I believe that after updating the theme it may have removed the code?
On my home page, I use the “Recent WorK’ option that shows three of the latest posts in a horizontal layout. However the three images are cropped and not showing the full image in the window. Could someone remind me how to show the uncrossed – full image in the featured image area.
Thanks,
GB
May 18, 2016 at 6:33 am #634180Hi gb!
Here is a list https://kriesi.at/support/profile/beylerian/topics/
of your profile together with the topics you have started.You can gather any code provided into different 15 topics and use it inside a child theme, that way you will not use any info.
Please let us know if we can assist with anything else.
Cheers!
BasilisMay 18, 2016 at 6:45 am #634192Is there a way to do this using the quick css code option within the Enfold Theme to avoid having to modify the PHP. Functions file every time there is an update?
Thanks,
GB
May 18, 2016 at 3:21 pm #634544Hi,
Can you please post the link to your website?
You can add following code (you may need to adjust it, we will tell you if you need to after you post the link to your website) in Functions.php file of your child theme in Appearance > Editoradd_filter( 'avf_modify_thumb_size', 'enfold_customization_modify_thumb_size', 10, 1 ); function enfold_customization_modify_thumb_size( $size ) { $size['entry_with_sidebar'] = array('width'=>1210, 'height'=>560); return $size; }
then regenerate thumbnails – https://wordpress.org/plugins/regenerate-thumbnails/
Also, please see – http://kriesi.at/documentation/enfold/using-a-child-theme/
Best regards,
YigitMay 18, 2016 at 4:59 pm #634654Hi Yigit,
Here is the site:
On the home page when you scroll down, you will see the issue with regards to Recent Works.
If you click artworks, I am using the blog post to show my work and there it does not seem to be an issue with image cropping.
Thanks,
GB
- This reply was modified 8 years, 7 months ago by gb.
May 19, 2016 at 3:54 pm #635272Hi,
Wordpress is cropping images by default when uploading them and if you want to control this behavior you can use a plugin like this: https://wordpress.org/plugins/simple-image-sizes
I hope this will help :).Best regards,
AndyMay 24, 2016 at 6:00 pm #637675Hi Andy,
When using the post slider and featured image for blog post entries, is that simple-image-sizes plugin the best approach to keep WordPress from cropping the featured image?
It would be great if there was a way not dependent on a plugin but I am heeding the opinion of experienced users :-)
Thanks,
GB
May 26, 2016 at 7:46 am #638557Hi!
The plugin should do the job if you don’t want to modify the thumbnail size script directly. Or if you have a child theme, you can override the thumbnail sizes in the functions.php file. Example:
function wp_23223255_6469586506596() { add_image_size('entry_with_sidebar', 999, 999); add_image_size('entry_without_sidebar', 999, 999); } add_action( 'after_setup_theme', 'wp_23223255_6469586506596', 11 );
Regards,
IsmaelMay 26, 2016 at 4:20 pm #638799Thanks,
Now if I use the provided script, is that something I will need to paste back into the functions.php each time I update the theme?
May 27, 2016 at 3:24 am #639041Hey!
If you have a child theme, you don’t have to paste it back every time you update the theme. http://kriesi.at/documentation/enfold/using-a-child-theme/
Cheers!
Ismael -
AuthorPosts
- The topic ‘How to remove the crop from the feature image?’ is closed to new replies.