We're merging with GenerateBlocks! Learn more here.

Support Forum

Please login to receive premium support.

Support for the free plugin can be found here.

Home Forums Pro Support Weird margin on list Reply To: Weird margin on list

#11659
Tom
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 🙂