[Resolved] Custom JavaScript Not Running

Home Forums Support [Resolved] Custom JavaScript Not Running

Home Forums Support Custom JavaScript Not Running

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #959580
    Heather

    Hello,

    I am trying to have some JS code run for a navigation transition on click of a hamburger menu, and no matter where I put the JS it is not being read by the browser. I looked at some previous tickets/topics and it said to make a Hook and put the JS within a script tag (it’s actually 3 different script tags but each one is closed and I am not getting any console errors) and place it in the wp_footer, and that doesn’t work. I also tried it in wp_head and after_footer with no luck either.

    Any other suggestions?

    #959592
    Heather

    Nevermind I fixed it – the issue stemmed from a $document.ready not being read as I needed to do the jQuery(document).ready.

    Thanks,

    #959594
    Leo
    Staff
    Customer Support

    Glad you figured out 🙂

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.