Okay
  Public Ticket #2719502
mobile menu width
Closed

Comments

  • pi-pages started the conversation

    hello, i finished the site and it looks great.

    the only thing i cannot solve is that whenever i run the page on a smartphone and open the mobile menu it's not centered.
    in fact the whole page could be swiped to the left and shows a white space on the right.
    how can i fix this?
    thanks and best
    thomas

  •  207
    Pasquale replied

    Hey Thomas,

    Not sure to understand, can you please attach a screenshot or a screencast?

    Thanks, P.

  • pi-pages replied

    sure check out the attached screenshots and try it for yourself at fraublumenschoen.de
    normal = this looks good
    menu = but as soon as you open the burger things get strange
    swipe = if you swipe the page to the left there is a space (which i thing is responsible for the weird menu).

    thanks and best
    thomas

    Attached files:  menu.png
      normal.png
      swipe.png

  •  207
    Pasquale replied

    Hello Thomas,

    I've been inspecting your site but I can't replicate the issue:

    - Google Chrome device simulator (attachment 1)
    - Browserstack (attachment 2)
    - My personal phone (attachment 3)

    Please provide more information about your phone and browser.

    Thanks!


    Attached files:  proofs.zip

  • pi-pages replied

    hello pasquale,

    i just checked today and the issue is gone - probably an caching thing at my phone. i reload the page in an icognitotab in android 11 chrome beta and its looking good.

    the only thing which does work is to use the menu twice. if i go directly to the url and hit the burger i can choose the menu and it will scroll to the section below. but if i open the menu again it will not go to another section. on the desktop this works like a charm. any suggestions here?

    also i noticed that the menu is not opening with php 8 at all (maybe you can provide me with a small fix).

    thanks and all my best
    thomas

  •  207
    Pasquale replied

    Hello again,

    I am noticing that there are a few issues in the console (screenshot).

    That code is not part of the Hemma theme, so I'd recommend that you check if it's one of the plugins you are using.

    Also, theme doesn't come with any scroll-to-section functionality, so I am afraid I am unable to provide support on theme customisation, I am sorryfrown.png If you have more questions don't hesitate to ask.

    Best, P.

    Attached files:  Screenshot 2021-03-14 at 14.19.24.png

  • pi-pages replied

    hello hello,

    i found that the wp optimize plugin creates the issues.
    but still i php8 without caching the mobile menu does not work so i switched back to php 7.4 and hope this will get solved in the future - it would be great if you add support for onepages in the upcoming versions of hemma (since your blocks are allready using #ids to navigate to by /#id - thats how i achieved it).
    thanks and all my best
    thomas

  •  207
    Pasquale replied

    Cool, thanks!