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].
Hi,
I want to be able to change the margin bottom of a particular widget.
to do so, like the widget padding, I thought it would be a good idea to add margin bottom under layout.
I managed to add the setting – but apparently, I don’t have a filter to use with the margin bottom for the widget.
File: siteorigin-panels.php
Function: siteorigin_panels_generate_css
// Add the bottom margins $css->add_cell_css($post_id, false, false, '.so-panel', array( 'margin-bottom' => $panels_margin_bottom.'px' )); $css->add_cell_css($post_id, false, false, '.so-panel:last-child', array( 'margin-bottom' => 0 ));
I think it would be best, if you added a filter for the widget margin bottom like you did for the row margin bottom
// Filter the bottom margin for this row with the arguments $css->add_row_css($post_id, $gi, '', array( 'margin-bottom' => apply_filters('siteorigin_panels_css_row_margin_bottom', $panels_margin_bottom.'px', $grid, $gi, $panels_data, $post_id) ));
Let me know what you think :-)
Hi Guys!
Why there is no reply from you?
I know you prefer premium users – but this question is from 11 days ago…
If you had a premium version of this plugin, I probably would buy it because it’s awesome… but I need your support.
I need your help here.
Hi Vlad
Thanks for reaching out. We appreciate your support.
We do our best to answer as many support queries as possible. We’re a small team so unfortunately the limitations of time prevent us from answering all of our free user requests. We’re growing fast so I’m sure this will improve in the future.
As you’ve hopefully seen our developer documentation can be found at the below links:
Page Builder:
https://siteorigin.com/docs/page-builder/
Widgets Bundle:
https://siteorigin.com/docs/widgets-bundle/
We’re unfortunately not yet offering developer level support on the forum, again, this is due to our limited capacity. We’re really keen to help developers get going we just don’t yet have the capacity. The above documentation is relatively new and a first step in the right direction. Hope you understand.
All the best with your project. We hope you’re able to resolve the challenges outlined above.
Hi Vlad
Thanks again for your query. I forgot to mention that both projects are on GitHub:
Page Builder:
https://github.com/siteorigin/siteorigin-panels
Widgets Bundle:
https://github.com/siteorigin/so-widgets-bundle
Contributions to either project is always appreciated. If you’d like to contribute the work you’ve mentioned here, that would be great.