Home › Forums › Pro Support › Weird margin on list › Reply To: Weird margin on list
October 25, 2019 at 5:51 pm
#11659
Keymaster
Can you give this a shot?:
add_filter( 'wpsp_image_attributes', function( $atts ) {
// Set up our conditional
if ( in_array( 'featured-column', get_post_class() ) ) {
$atts[ 'width' ] = 1200;
$atts[ 'height' ] = 400;
$atts[ 'crop' ] = true;
}
// Return our options
return $atts;
} );
Let me know 🙂