
OK – just sharing this because so far it works. Obviously I have to wait and see what happens when a new update to either eventON or RSVP gets installed, but it can hardly be worse than before.
My code in functions.php
function dequeue1 ()
{
wp_dequeue_style( ‘evcal_cal_default’ );
wp_deregister_style( ‘evcal_cal_default’ );
}
function dequeue2 () {
wp_dequeue_style( ‘evo_RS_styles’ );
wp_deregister_style( ‘evo_RS_styles’ );
}
function dequeue3 () {
wp_dequeue_style( ‘eventon_dynamic_styles’ );
wp_deregister_style( ‘eventon_dynamic_styles’ );
}
add_action( ‘wp_print_styles’, ‘dequeue1’ );
add_action( ‘wp_print_styles’, ‘dequeue2’ );
add_action( ‘wp_print_styles’, ‘dequeue3’ );
/* ENQUEUE */
add_action( ‘wp_enqueue_scripts’, ‘ph_enqueue_styles’ );
function ph_enqueue_styles() {
$parent_style = ‘parent-style’;
wp_enqueue_style( $parent_style, get_template_directory_uri() . ‘/style.css’ );
wp_enqueue_style( ‘hello-elementor-child’,
get_stylesheet_directory_uri() . ‘/style.css’,
array( $parent_style ),
wp_get_theme()->get(‘Version’)
);
wp_enqueue_style( ‘eventon_dynamic_styles’, get_stylesheet_directory_uri() . “/eventon_dynamic_styles.css” . ‘ ‘, array(), ”, ‘all’);
wp_enqueue_style(‘eventon-custom-styles’, get_stylesheet_directory_uri() . “/eventON_custom.css” . ‘ ‘, array(), ”, ‘all’);
}
For info, I do not use the Appearance option in myEventOn to change any styling info, because it’s far simpler for me to just deal with appearance in my custom stylesheet. But I’ve included my last copy of eventon_dynamic_styles.css in my child theme’s directory just in case it’s necessary.
Thanks for your help!
(Here is a picture – reduced in View mode so you can see more – of what my calendar now looks like.)





