Menu css does not work when entering through Google, but usually works via URL

Asked

Viewed 64 times

1

This problem happens on mobile devices. It’s a bit strange but when I access the site through the URL, the menu works normally, that is, by clicking on the 3 horizontal bars, the menu appears. But when I go to Google, I do the search and enter the site through Google, it even appears the 3 bars menu but does not open the menu by clicking (touch) on the bars. Does nothing and no menu appears.

Any idea of the problem? Thank you very much.

  • Ever tried to do a refresh after accessing via Google results? It looks like it cached this.

  • Yes Thiago, it was my first reaction..

  • Well, as you say that the 3 bars appear, it should not be CSS, but Javascript. The references of your JS are at the end of the HTML page? Just before the </html>

  • my menu and its animations are entirely in CSS, no Java Script

  • 1

    Can you share the URL? Already seen in the Developer Tools (F12) of the browser if it shows something in the Console tracking?

  • Please enter the url and term to search on google to find it

  • Guys got it.. the problem was with the z-index, the header bar was over the menu when it opened. It opened from below. Thanks Thiago and Alan for the mood.

  • 1

    @DEB would have to post the solution, may have more people with their doubt.

Show 3 more comments
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.