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?
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>
I am having the same issue. Could you please walk me through this fix? I don't know what script we're changing or what I should look for.
I had to install a previous version of the events calendar in the meantime.
You need to edit the header.php template file.
The code you need to replace can be found on line 43 and looks like this:
<script> document.body.className = document.body.className.replace('no-js','js'); </script>
Replace that with this:
<script> document.body.className = document.body.className.replace(/\sno-js\s/, ' js '); </script>