Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #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

    #634180

    Hi 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!
    Basilis

    #634192

    Is 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

    #634544

    Hi,

    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 > Editor

    add_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,
    Yigit

    #634654

    Hi 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, 4 months ago by gb.
    #635272

    Hi,

    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,
    Andy

    #637675

    Hi 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

    #638557

    Hi!

    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,
    Ismael

    #638799

    Thanks,

    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?

    #639041

    Hey!

    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

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘How to remove the crop from the feature image?’ is closed to new replies.