Home>Support>Remove default syles using remove_filter

Remove default syles using remove_filter

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. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 6 years, 11 months ago Alex S
    Hi, I Work Here

    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. 6 years, 11 months ago 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.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More