Button menu: Submenus don't appear on all pages

Hi,
I have a menu of buttons in the header with submenus (boxes). I used a code on a test page and it works perfectly, but it doesn’t work on all pages, only on the page where the boxes are. So I tried to enable the option " Show on all pages " for each one, but in that case the code stops working… (I put the code in “SITE” not in “PAGE”)
I leave here the link of my test page with the code …and also to see how it works http://softiluminacao.wixsite.com/softiluminacao2
I spent hours researching and didn’t find anything … :frowning:
Please, could you help me and guide?
Thank you so much!
(I apologize for my English. I don’t speak but I understand it well )

Do not use “Show on all pages”. Add the stuff in the header, then to make code work for stuff in the header you need to add the code to the SITE TAB not the PAGE TAB.

Thank you very much Andreas for answering! :slight_smile:
But as I said before, all my code is in the SITE TAB, not in the PAGE TAB, however the code doesn’t work
I agree, I can’t use the option “Show on all pages”… that’s my problem
The two menus are in the header, but the sub menu boxes are on the page. I already tried to put the sub menus in the header, but when I publish the page the code goes crazy and the submenus flashing like a Christmas tree… without saying that the header becomes too large

Hi,
I’m not sure that I fully understand what’s the scenario. I clicked on both menu buttons and was able to view the submenu. Can you please send us a screencast of the issue so that we can better understand what you were referring? You can use screencast for that purpose. Simply recreate the issue while recording the steps. Add the screencast.com URL to your response.

Thanks,
Tal.

Hi Tal!
Thank you so much for answering me.
I just got the problem resolved :smiley:
I placed the submenus inside the header and now they appear on all pages
Then I used a transparent line as anchor, just under the strip " bottomStrip". So, the submenus stay in place (at last!) and don’t push up or down the other elements of the page, when these submenus appears or disappears (expand /collapse)

Also, I changed the code in this part:


and this…


I don’t know if that’s the correct way to write a code, but at the moment it’s working the way I wanted to.
If you have a better idea, I would appreciate it.
The code is on test page: http://softiluminacao.wixsite.com/softiluminacao2/test-page-2

Please excuse my English
Greetings