Home>Support>Page Builder row Margins

Page Builder row Margins

I have read the numerous posts about this issue,but the css does not seem to be working for me.
I would like to have images in my rows. Then I would like these rows to have no margin inbetween them so my images are right up against each other. Is this possible?
the page I am currently trying to get this problem figured out for is at — http://www.jonigalbreath.com/newfront/
I would like the logo to be all the way at the top of the page(where the dotted line is located).
I would then like the brown of the next rows image to be right up to the blue background of the logo.

Any help would be appreciated, thanks.

URL: http://www.jonigalbreath.com/newfront/

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 10 years, 20 days ago Andrew Misplon
    Hi, I Work Here

    Hi paulg

    Thanks for running Page Builder.

    It’s possible to overcome the Page Builder bottom margin bug with a child theme and the following pasted into a functions.php within that child theme:

    <?php
    
    if ( ! function_exists( 'vantage_setup' ) ) :
    /**
     * Sets up theme defaults and registers support for various WordPress features.
     *
     * Note that this function is hooked into the after_setup_theme hook, which runs
     * before the init hook. The init hook is too late for some features, such as indicating
     * support post thumbnails.
     *
     * @since vantage 1.0
     */
    function vantage_setup() {
    	/**
    	 * Support SiteOrigin Page Builder
    	 */
    	add_theme_support( 'siteorigin-panels', array(
    		'margin-bottom' => 10,
    	) );
    }
    endif; // vantage_setup
    add_action( 'after_setup_theme', 'vantage_setup' );
    

    Depending on your theme you’d change vantage to the theme name and 10 to the Page Builder global bottom margin you’re after.

    Page Builder isn’t responsible for all the padding here though, some of it is from the theme stylesheet.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More