How modify Row Layout Options
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.
Need fast email support? Get SiteOrigin Premium
Save 30% on SiteOrigin Premium with our April sale. Use code APRIL30 .
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.
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.
Need fast email support? Get SiteOrigin Premium
Have a different question or issue?
Start New Thread
Replies
2Hi 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 !
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.