I have the same problem. I’m trying to set the margin-bottom of the panel to 0, with no success. Every time I try to change it in the settings panel it reverts to 35. What’s up with that? Why even have the field there if we can’t change it. The code
add_theme_support( 'siteorigin-panels', array(
'margin-bottom' => 30,
'responsive' => true,
) );
offered by Greg doesn’t work for me. But, I may have put it in the wrong place, seeing as I’m not a PHP expert. Here’s where I’ve put it.
add_action( 'after_setup_theme', 'vantage_setup' );
/**
* Setup the WordPress core custom background feature.
*
* @since vantage 1.0
*/
function vantage_register_custom_background() {
if(siteorigin_setting('layout_bound') == 'boxed') {
$args = array(
'default-color' => 'e8e8e8',
'default-image' => '',
);
$args = apply_filters( 'vantage_custom_background_args', $args );
add_theme_support( 'custom-background', $args );
add_theme_support( 'siteorigin-panels', array(
'margin-bottom' => 0,
'responsive' => true,
) );
}
}
If I’ve put it in the wrong place, please let me know. I am using Vantage.