Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1296159

    Is there a filter or an action that I can use in functions.php to increase the image size for a product list?

    #1296289

    Hi CharlieTh,

    Can you try adding this CSS code in Enfold > General Styling > Quick CSS (default width is 44px, maximum is 180px):

    .av-catalogue-list .av-catalogue-item img {
        width: 180px;
    }

    If you need to use a wider image then please add this code in your child theme’s functions.php file (just change the width and height (180px is the default):

    function enfold_customization_modify_thumb_size( $size ) {
      $size['square'] = array('width'=>180, 'height'=>180);
      return $size;
    }
    
    add_filter( 'avf_modify_thumb_size', 'enfold_customization_modify_thumb_size', 10, 1 );

    Hope this helps.

    Best regards,
    Nikko

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