Using add_filter to set/change the default size of background images

By default when using Background images for sections. Mesh will try to use the largest size available “Full”. That doesn’t necessarily work for all designs. If you want to override the default image size use the following.

add_filter( 'mesh_default_bg_size', 'hatch_mesh_default_bg_size' );

function hatch_mesh_default_bg_size( $size ) {
    // default $size = 'mesh-background' will fall back to 'full'.

	return 'large';
}

You may also be interested in changing the size of the images that are generated for Large, Medium and Small size “interchange” images.