Advanced Customizations available for SiteOrigin CSS.
Set the Custom CSS Output File
The siteorigin_custom_css_file filter allows you to specify the URI of a Custom CSS file. If the file doesn’t exist, it will be created.
add_filter( 'siteorigin_custom_css_file', function( $file ) {
return array(
'file' => get_template_directory() . '/custom-styles.css',
'url' => get_template_directory_uri() . '/custom-styles.css',
);
} );
The siteorigin_css_enqueue_css filter controls whether SiteOrigin CSS will enqueue the custom CSS file. It can also be used to force the CSS to be output directly into the page source.
add_filter( 'siteorigin_css_enqueue_css', '__return_false' );