Site logo

Archived topic

Mobile menu does not work on AMP

1 reply · Started by ETO on January 3, 2021

Viewing posts 1–2 of 2

Hello,
Mobile menu hamburger button does not work ON AMP. When I click on it, the menu does not appear.

Another problem is the one I mentioned in this topic: https://generatepress.com/forums/topic/layout-shift-on-amp/
I must say that this problem disappears when I change the theme. So I would be grateful if you could check what causes this with GeneratePress theme.

Hi,

As for the hamburger menu icon not working, you will need this plugin to make it work.
https://github.com/tomusborne/amp-for-generatepress

As for the CLS issue, Tom provided a summary here:
https://generatepress.com/forums/topic/cls-issue-more-than-0-25-mobile/#post-1327908

It's hard to tell how to address this when even the page performance testing site shows a CLS of 0. And usually, these things are caused by inserted ads or lazyloaded images which are not controlled by the theme.

That said, you may be better off addressing the more obvious issues.(TTFB)

This archived topic is closed to new replies.