Okay
  Public Ticket #1173691
Conflict with The Events Calendar
Closed

Comments

  • Stephan started the conversation

    After updating The Events Calendar from an old version to the current one, all header sizes have become ridiculously large and toggle groups no longer work. Any advice on a way to fix this so I can continue to use this plugin with Camyno?

  •  59
    Alek replied

    It's likely a JavaScript error that is being produced somewhere and causing the conflict, I visited your site and it appears to be working okay.

  • Stephan replied

    The issue was due to the script to replace the 'no-js' body class in header.php. TEC uses a similar approach to change their 'no-js-tribe' class to 'js-tribe'. Since their class was listed before Camyno's 'no-js' class, the pattern matching replaced their class, but not Camyno's. I resolved the issue by changing the script to:

    <script> document.body.className = document.body.className.replace(/\sno-js\s/,\
    ' js '); </script>