Home>Support>How modify Row Layout Options

How modify Row Layout Options

Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].

I’d like remove “Full Width Stretched”option in Row Layout Select.
How can i do it ?
Thanks.

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, 2 months ago Greg Priday
    Hi, I Work Here

    Hi Francesco

    You can do this by using the siteorigin_panels_row_style_fields filter. This filter gives an array. If you add your filter with a priority that causes it to run after the default functions in Page Builder (say priority 12), you can just take the array, unset $fields[‘row_stretch’][‘options’][‘full-stretched’] value and return that.

    We can’t go too in depth with developer questions, but looking at what’s happening in inc/default-styles.php should give you a clearer idea of how to modify style fields.

  2. 10 years, 2 months ago Francesco Prestipino

    Thanks Greg, works perfectly.
    Awesome !

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