Headers throughout theme too large after update

Home Forums Calendar Products Events Calendar PRO Headers throughout theme too large after update

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1284796
    Stephan
    Participant

    Hello!

    After updating from an old version of TEC to the current version, the headers throughout my site (not just events and TEC elements) have become ridiculously large. The toggle groups on our site also broken (all text is displayed, no toggle/accordion function). Disabling TEC & TEC PRO returns all of the fonts to their normal sizes and restores toggle functionality. Can you please provide some guidance on a fix?

    #1284905
    Stephan
    Participant

    Found the source of the problem, but no clear fix yet. My theme uses a script element to call document.body.className.replace(‘no-js’,’js’) to indicate the JavaScript is available. Haven’t yet figured out why that script isn’t running, but at least it’s a start.

    #1284918
    Stephan
    Participant

    Resolved the issue. My theme was checking for JavaScript and using a simple replacement for the no-js class:

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

    This was updating the no-js-tribe class rather than the intended one. Changing the script to check for whitespace before and after the intended class fixed the issue.

    #1285307
    Geoff B.
    Member

    Good evening Stephan,

    Thank you for reaching out to us.

    Major kudos on some world class troubleshooting!

    You are welcome back in our support forums any time 🙂

    For now, I am going to close this thread.

    Have a great week!

    Geoff B.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Headers throughout theme too large after update’ is closed to new replies.