Why does the menu work fine on the main version of the mob, but if I go to the contact page, it does not work normally?

  • 0
    In general, I sat and tried to understand all this, but it did not work out, why when I switched to the mobile version through the developer's console, the burger menu on the main page works fine, like below ..

    And if I went to the contacts page, or about the menu, I had it like this below

    the menu does not disappear after opening the page.
    Again, something with js? How difficult it turns out.
    Here is this page where all the menu does not want to close, it is in the mobile version link
    JavaScript Anonymous, Aug 15, 2020

  • 3 Answers
  • 0
    I think the fact is that on the contact page there is no link to the ccs properties that work on the main page, which should close the menu through the hidden PROPERTY. So I don't understand much myself :) Or maybe js is stupid! Most likely the second

  • 0
    Maybe because on the main page the . Offcanvas-menu element is nested within the # wrapper element, but is not nested on the contact page? And that's why the
    .uc-offcanvas-left.slide-in-on-top .uc-offcanvas-container {
    -webkit-transform: translate3d(-100%, 0, 0);
    -moz-transform: translate3d(-100%, 0, 0);
    -ms-transform: translate(-100%, 0);
    -o-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
    style doesn't work, huh?

  • 0
    Here, the layout is generally knocked down. It is necessary to revise the layout code of the entire pop-up menu and tab again.

Your Answer
To place the code, please use CodePen or similar tool. Thanks you!