I’d like remove “Full Width Stretched”option in Row Layout Select.
How can i do it ?
Thanks.
How modify Row Layout Options
This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.
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 !