Hello @biancaakanaonda,
The dropdown menu automatically displays CSS styles registered through standard coding practices. If a style was added using non-standard methods, it won’t appear by default. To include these styles, you must apply an exclusion filter within your active theme’s functions.php file. Instead of referencing the stylesheet name, you will need to use the specific handle associated with that style. The filter that you would need to use to exclude styles from being minified:
add_filter( 'sgo_css_combine_exclude', 'css_combine_exclude' );
function css_combine_exclude( $exclude_list ) {
// Add the style handle to exclude list.
$exclude_list[] = 'style-handle';
$exclude_list[] = 'style-handle-2';
return $exclude_list;
}
One of the recommended methods to find the handle you need is to use WordPress’ native debug mode:
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );
Reloading the page that uses the style will populate the log file and provide the needed information.
Best Regards,
Simeon Boev