Row hook to update fullwidth params

Hi,

I want to add a hook before the row is rendered in order to control padding and margin.

For example, I want when the width is set to “Fullwidth”, to automatically set the padding/margin to 0 instead of 20.

Is it possible to hook row creation?

Thanks

Hi Elemento,

You can always change the padding manually under Advanced or globally under Global Settings. You can also set the default width to be Full Width under the Global Settings! But I guess what you want is to have the padding set to 0 automatically only when you change the width to Full Width. I guess that is possible if you override the padding CSS for the row. You can use this CSS snippet to set the padding to 0 for Full Width rows.

.fl-row-full-width .fl-row-content-wrap {
  padding: 0;
}

Ben