Support » Plugin: The Events Calendar Category Colors » CSS loading issue

  • Resolved Arnaud Yhuel


    Thank you for your plugin. It’s a cool idea but it doesn’t work for me. Actually, I don’t see any loaded css (diplay li item on inlin-block or colors). When I look my css with the inspector, there’s no teccc CSS rules appaered.
    Even I deactivate my caching plugin, it dosen’t work.
    I tried to install the develop branch or put the code to my theme‚Äôs functions.php file like here: …nothing better.
    I don’t know now what I could do.
    can you help me please?
    My event page:
    Thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Andy Fragen


    From looking at your page source it appears as if you have some code that strips any query arg from a URL in your headers.

    Category Colors stylesheet appears as a query arg because it’s pulled from the database.

    Do you have some plugin or code that “speeds up” you site or “improves the Pingdom or GTmetrix scores?

    Thanks a lot! I’ve forgot this code on functions.php that remove query strings from URl to allow servers to cache query strings.

    function _remove_script_version( $src ){
      $parts = explode( '?', $src );
      return $parts[0];
    add_filter( 'script_loader_src', '_remove_script_version', 15, 1 );
    add_filter( 'style_loader_src', '_remove_script_version', 15, 1 );

    It works!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘CSS loading issue’ is closed to new replies.