Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1006849

    how do I disable the styling Enfold adds to The Events Calendar List view so that it looks like thier stock demo? They said Enfold was to blame and Enfolds Styling looks TERRIBLE.

    #1007009

    Hey Kyle,

    Best regards,
    Victoria

    #1007531

    I put the file in a child theme and commented out the entire thing but to seemingly no effect…

    I created a folder in my child theme named “config-events-calendar” with the modified event-mod.css inside

    #1008041

    Hi,

    Please add this code to your child theme functions.php to replace the default event-mod.css with your custom one:

    
    if(!is_admin()){ add_action('wp_enqueue_scripts', 'avia_events_register_assets',15); }	
    function avia_events_register_assets()
    {
    	wp_enqueue_style( 'avia-events-cal', get_stylesheet_directory_uri().'/config-events-calendar/event-mod.css');
    }
    

    You need to place the event-mod.css inside the “config-events-calendar” folder in your child theme folder (the entire path should be wp-content/themes/enfold-child/config-events-calendar/event-mod.css

    Best regards,
    Peter

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.