CSS works on one site but not on another
Menu Conundrum:
I have used this responsive drop-menu before and it has always worked in the way that I intended it should.
When a visitor first opens the site on a small device, the menu-list should be hidden and only the black “menu” bar should be visible.
A click on the black “Menu: bar should cause the List of Links to drop into view.
When the visitor clicks on a Link in the list, they are taken to the linked new page.
Their initial view of the newly-visited second page should show only the Black Bar (the list of Links should be hidden.
In the Weaver website, I have this working as I intended.
But in the Taumel site that I am currently building, this is not working:
https://taumel.shelbourne-america.net
In the Taumel site, the list remains extended and does not retract back into the Black Bar as it should.
Both sites use the same Script (which does not use a Bootstrap button to close the Menu).
The Menu simply always opens in the retracted “Closed” condition when the User of a small device clicks a Link from a previous page or arrives on the Site for the first time.
I have re-used parts of my original coding in the new site but I simply cannot see, for the life of me, what is missing or different in coding in the new site so that it is causing the problem.
I would be extremely grateful if anyone has time to take a look and has any ideas for fixing the Taumel menu.
I will attach the two CSS and the the HTML for a Taumel pageCSS
