[Resolved] Mobile menu is not in the correct position

Home Forums Support [Resolved] Mobile menu is not in the correct position

Home Forums Support Mobile menu is not in the correct position

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #2364975
    Christiano

    I do not have changed anything related to the menu bar (it’s rendered automatically, I modified only the elements) but suddenly the its position has changed.

    What could be the problem?

    THANKS! ☺️

    #2365073
    David
    Staff
    Customer Support

    Hi there,

    have you used Block Elements to add most of your content to the page ?

    #2376542
    Christiano

    Hi David! πŸ˜ƒ

    Yes, I did. Do I have to choose different priorities perhaps?

    #2376673
    Ying
    Staff
    Customer Support

    What are the hooks you are using for the block elements above the mobile header?

    #2377169
    Christiano

    No one…

    This are the hooks in use:
    – generate_after_header
    – generate_after_entry_content
    – wp_footer
    – wp_body_open
    – generate_after_primary_menu
    – generate_before_main_content

    That’s all.

    THANKS! πŸ€—

    #2377228
    David
    Staff
    Customer Support

    Any generate_after_header hook elements increase the Priority to 50 this will hook it in after the mobile header.

    #2378360
    Christiano

    Hi David, glad to hear from you! ☺️

    Increasing the priority seems to fix the problem but before doing that the header was shrinking slightly when you scrolled the page while now it disappears only to became visible again when you scroll down. (I hope to have described it clearly! πŸ˜…)

    It’s not a big issue but if I could easily fix it…

    THANKS AGAIN FOR YOUR EFFORTS! πŸ€—

    PS. I’m definitely very happy with you guys, GeneratePress has a wonderful customer service. Keep on like this! πŸ‘πŸΌπŸ‘πŸΌπŸ‘πŸΌ

    #2378507
    David
    Staff
    Customer Support

    In Customizer > Layout > Header –> Mobile Header, you have the Hide when scrolling down option checked. Uncheck that.

    #2379695
    Christiano

    Done! Thanks! πŸ™πŸΌπŸ€—

    #2379820
    David
    Staff
    Customer Support

    You’re welcome

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.