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.
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.
Thanks Greg, works perfectly.
Awesome !