Removing default stylesheets from head

Home Forums Calendar Products Events Calendar PRO Removing default stylesheets from head

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #19780
    Jesse
    Member

    Hello…

    I’m trying to remove the default event calendar stylesheets from the front-end of my theme. I started with this function but I get a server error:

    `add_action( \’wp_print_styles\’, \’my_deregister_styles\’, 100 );
    function my_deregister_styles() {
    wp_deregister_style( \’chosen-style\’ );
    }`

    ——–

    update: code works fine, i had declared the function twice :-O

    #19819
    Rob
    Member

    Hey Jesse. Thanks for the note; based on your update it looks like you’re all set here, right? Please correct me if I’m wrong. Otherwise if this is good to go…let us know what else we can do down the road!

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Removing default stylesheets from head’ is closed to new replies.