This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

Replies

4
  1. Satish Gandham

    Also, panel-grid-cell padding is set to zero when browser width is below 780px??

  2. Greg Priday Staff

    Hi Satish

    Basically, they’re used to cancel out the gutter padding. The negative margin is used to make it possible for the columns to have percentage based widths. Without them, Page Builder would need to know the width of the exact width of its container.

  3. Satish Gandham

    Hi Greg,
    Which gutter paddings?
    I’m using page builder on a page templates without any sidebars, and this negative margin is creating unnecessary horizontal scroll bars when using fluid layout.

    I feel that you don’t need negative margins, your are setting columns width 1/number of columns * 100, with their box sizing set as border box, so there is no problem in using percentages.

    I’m not sure if I explained myself clearly. If you do not understand what I’m trying to say, I can setup a demo for you.

  4. Greg Priday Staff

    Hi Satish

    I can understand what’s happening to cause those horizontal scroll bars. That is an unfortunate side effect. I’ll see if I can get Page Builder to deal with that particular instance slightly better.

    I wrote up a full description of the reasoning behind the negative margins in Page Builder. Let me see if I can find that post.

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.

Have a different question or issue?

Start New Thread