Hi Dan, in the current version that is not possible without custom code. It is planned for the upcoming release.
Until then, you could try adding the following code with a Code Snippets plugin or in your theme’s functions.php
if ( class_exists( 'easyFancyBox' ) && defined( 'EASY_FANCYBOX_VERSION' ) && version_compare( EASY_FANCYBOX_VERSION, '1.9', '>=' ) && version_compare( EASY_FANCYBOX_VERSION, '1.9.5', '<=' ) ) {
add_action( 'wp_enqueue_scripts', function() {
foreach ( easyFancyBox::$styles as $handle => $options ) {
wp_dequeue_style( $handle );
if ( ! empty( $options['conditional']) ) {
$wp_styles->add_data( $handle, 'conditional', $options['conditional'] );
}
};
}, 999 );
add_action( 'wp_footer', array( 'easyFancyBox', 'enqueue_scripts' ) );
};
Note: this works for plugin versions 1.9 to 1.9.5 and with script versions Classic Reloaded or fancyBox2, but not Legacy…
thank you @ravanh, I’ll give that a try