Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1111726

    Please take a look at our portfolio pages. It is cutting down the images so you can’t see the top and bottom of the images. Can’t we format that somehow? Thank you in advance for your help.

    #1111922

    Hey janton1,

    Try adding this code at the bottom of your functions.php (just adjust the width and height, the ones currently in code is the default):

    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'=>845, 'height'=>321);
      return $size;
    }

    if you don’t want cropping you can use this code (still change the width and height):

    <pre><code>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'=>845, 'height'=>321, 'crop'=>false);
      return $size;
    }

    Best regards,
    Nikko

    #1112195

    Please help!! The first code does not change the size at all.
    The second one crashes my site.
    Sorry these are not working.

    #1112198

    Hi janton1,

    Sorry, the 2nd code should be:

    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'=>845, 'height'=>321, 'crop'=>false);
      return $size;
    }

    Also I forgot to mention, for this to work, you will need to re-upload the image or use a regenerate image plugin to regenerate images.

    Best regards,
    Nikko

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.