Home>Support

Hero widget image type

By bohdanr, 6 years ago. Last reply by Alex S, 6 years ago
Hero image options include only cover. It should include cover and contain. Here is the modified code snippet wp-contentpluginsso-widgets-bundlewidgetsherohero.php line 99 *** add contain option ‘image_type’ => array( ‘type’ => ‘select’, ‘label’ => __(‘Background image type’, ‘so-widgets-bundle’), ‘options’ => array( ‘cover’ => __(‘Cover’, ‘so-widgets-bundle’), ‘contain’ => __(‘Contain’, ‘so-widgets-bundle’), ), ‘default’ => ‘cover’, ),

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More