CMS Development

ddobrien2
Participant

javascript error affecting mobile navigation

Hi. We launched our website 1 month ago. Today, on the mobile version of our site, the navigation isn't working. Once you click on the navigation on the home page and get to a secondary page, the "hamburger" navigation doesn't work. It loads for a split second, but then collapses. HubSpot support couldn't pinpoint the error but suggested I reach out here. Our site is: https://www.lcmsfoundation.org/, (navigation works from that page), but for example, it doesn't work from this page: https://www.lcmsfoundation.org/investment-services. It does work on the desktop version. Thank you for any help!

0 Upvotes
2 Replies 2
ddobrien2
Participant

javascript error affecting mobile navigation

@Ntbrown Thank you, that may prove very helpful. We'll try that. I appreciate you taking a look! Thank you.

Ntbrown
Contributor

javascript error affecting mobile navigation

Didn't want to invest a lot of time debugging this (> 1-2 mins). But, right off the bat I see:

 

Bootstraps JavaScript file is included twice. For versions 4.5.3 and 3.4.1. Remove the 3.4.1 one. CSS is also 4.5.0. Should match your versions...

 

Starting there sounds like a good idea considering that's 1 diff between the 2 pages. Your working page doesn't have 3.4.1. But, again, not spending loads of time debugging this. That may not be your issue at all, but I'd hazard a guess it is considering bootstraps collapse functionality is very old and in most JS it serves.