Home › Forums › Support › AMP plugin – Menu This topic has 25 replies, 5 voices, and was last updated 3 years, 5 months ago by Tom. Viewing 15 posts - 1 through 15 (of 26 total) 1 2 → Author Posts September 25, 2019 at 11:15 pm #1019274 Anders Nielsen The dropdown is not working using AMP and the AMP plugin in the main menu September 26, 2019 at 2:06 am #1019355 DavidStaff Customer Support Hi there, Tom created this plugin to resolve the issue mobile menu for AMP: https://github.com/tomusborne/amp-for-generatepress September 27, 2019 at 9:02 am #1020593 Anders Nielsen And is not working for the dropdown function. As I tried to write, I’m using the AMP plugin, and it’s not working! September 27, 2019 at 7:29 pm #1020996 TomLead Developer Lead Developer Hi there, Just to confirm, you’re using the plugin that David linked to as well as the official AMP plugin? Both need to be activated in order for it to work. If they’re not working, can you link us to your site so I can take a look? Let me know π September 27, 2019 at 11:06 pm #1021048 Anders Nielsen Yes, I use the two plugins, as David says π When you click a “#sub”-link in the menu, the menu “freezes” to the id=”site-navigation” using chrome/mac – maybe other browsers too. I have inserted a link. The schema data for the menu is also missing π September 28, 2019 at 9:28 am #1021355 TomLead Developer Lead Developer And it’s this plugin you’re using?: https://wordpress.org/plugins/amp/ Is AMP always active? I’m not able to see the normal site and AMP site separately using /amp/ in the URL. September 28, 2019 at 10:08 am #1021376 Anders Nielsen And itβs this plugin youβre using?: https://wordpress.org/plugins/amp/ – Yes Is AMP always active? Yes – The site is native AMP So the URL given in this tread is AMP π If you click the menu from a chrome browser (with the sub item) – you can see the issue September 28, 2019 at 7:14 pm #1021555 TomLead Developer Lead Developer That’s strange – can you try this CSS?: nav:not(.toggled) .menu-item:not(:hover) button.dropdown-menu-toggle.toggled-on + .sub-menu { opacity: 0; visibility: hidden; height: 0; } nav:not(.toggled) button.dropdown-menu-toggle.toggled-on + .sub-menu { position: absolute; top: auto; } Let me know π September 29, 2019 at 12:03 am #1021627 Anders Nielsen Then the sub item(s) it not shown, when you hover the menu – when you are on an URL from the sub items. September 29, 2019 at 9:14 am #1021970 TomLead Developer Lead Developer Can you try the updated code?: https://generatepress.com/forums/topic/amp-plugin-menu/#post-1021555 September 29, 2019 at 9:16 am #1021971 Anders Nielsen Updated.. Still has issues π September 29, 2019 at 9:27 am #1021987 TomLead Developer Lead Developer How about now? September 29, 2019 at 9:30 am #1021991 Anders Nielsen Better, when you are on the page with the menu issues – the subitem changes width, and menu-word break in two lines September 29, 2019 at 9:39 am #1021998 Anders Nielsen Hmm, just testet on mobile, you can’t see the subitem in the menu now September 29, 2019 at 12:26 pm #1022062 Anders Nielsen I removed the sub-items from the menu. I need the site to be up running for costumers π Author Posts Viewing 15 posts - 1 through 15 (of 26 total) 1 2 → You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In