Tagged: hook, image size, product list
Is there a filter or an action that I can use in functions.php to increase the image size for a product list?
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