0

I copied a mobile menu from "https://www.100percent.com/" (mobile version). My HTML local page it works fine, but when I put the code in the PHP "header.php", the solution does not work completely.

The DIV that contains the Drawer Is Visible is not created and does not appear.

The site is "https://m.intensebikeshop.com.br".

These pictures show the difference.

A: My PHP page online

B: My local HTML page

The method create 2 divs before </body>, but this tag is the footer.php file. Maybe this is the problem I am not sure.

My page is composed by 3 files (header, home-page and footer.php).

I tried using the z-index. But I think the problem is the method. I see the JS file is not creating the DIVs.

The JS file is: Theme file JS

mkrieger1
  • 19,194
  • 5
  • 54
  • 65
  • You need to show us some code snippet – Chilarai Jul 24 '20 at 05:26
  • Welcome to StackOverflow. Please review [**How do I ask a good question**](https://stackoverflow.com/help/how-to-ask) and this [**Question Checklist**](https://meta.stackoverflow.com/questions/260648/). Your question should include details of *what you have tried so far*, and include your *relevant code* in a [minimal,reproducible example](https://stackoverflow.com/help/minimal-reproducible-example) so we have the information we need to be able to help. – FluffyKitten Jul 24 '20 at 16:56

0 Answers0