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.

Remove default syles using remove_filter

Resolved 2 replies developerpluginplugin-page-builder
Started · Latest reply by Mark Kofoed Aarhus

Im trying to roll my own classes and styles.

Is there anyway to remove the default ones using remove_filter:

If tried this so far with no luck

function siteorigin_remove_filter(){
	remove_filter('siteorigin_panels_row_style_fields', array( SiteOrigin_Panels_Styles::get_instance(), 'row_style_fields'));
	remove_filter( 'siteorigin_panels_css_row_margin_bottom', array( SiteOrigin_Panels_Styles::get_instance(),'filter_row_bottom_margin' ), 10, 2 );
}
add_action( 'after_setup_theme action', 'siteorigin_remove_filter',100 );

This is our free support forum. Replies can take several days.

Need fast email support? Get SiteOrigin Premium

Replies

2
  1. Alex S Staff

    Hi Mark,

    I’d like to help you with this, but unfortunately, this is beyond the scope of the support we’re able to offer on our free forums. There is a fair amount of custom work involved.

    We do offer this level of support to our premium users, so if you’d like to upgrade to SiteOrigin Premium, then I can help you over email support.

    If you’d prefer not to upgrade to SiteOrigin Premium, then you can hire a WordPress developer from Codeable. They’ll charge you an hourly rate for any work done.

  2. Mark Kofoed Aarhus

    Nevermind figured it out on my own :)

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.

Have a different question or issue?

Start New Thread