Site menu does not work on some mobile page

Asked

Viewed 34 times

0

I made a site where the menu is inserted in all pages through a include. It turns out that on some pages when the menu gets in the format for mobile devices works normally and on other pages it does not open. What could be going on? I found it strange because if the menu is coming through a include it should behave the same for all pages, no? See the links below for an example

This one works https://www.gestaoderestaurantes.com.br/grconsult/index.php

This one doesn’t work https://www.gestaoderestaurantes.com.br/grconsult/tutorial.php

1 answer

1


Dude your problem is that you’re calling the Scripts of Navbar only in the Index.php and not on the other page. Then on ALL the pages you will use this Navbar you have to index these scripts

This is in INDEX.PHP inserir a descrição da imagem aqui

And look at the other page, there’s no .JS inserir a descrição da imagem aqui

  • Exactly that. Now it worked. It was worth too much.

  • @Alison decided then consider marking the answer as accepted in this icon below the arrows of my reply , so it does not go unanswered, even though it has already solved

Browser other questions tagged

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