[Resolved] Menu location changed after read more

Home Forums Support [Resolved] Menu location changed after read more

Home Forums Support Menu location changed after read more

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #1659194
    sas40

    the menu is on the top. But after clicking on read more of a post the menu position change to the sidebar. Maybe I have changed this at the start. But I don’t want this. The menu has to be stayed at the top.

    #1659241
    David
    Staff
    Customer Support

    Hi there,

    can you share a link to your site where i can see the issue ?

    #1659471
    sas40

    Thanks. I hereby send my website link.

    #1659739
    Ying
    Staff
    Customer Support

    Hi there,

    Have you used this filter generate_navigation_location?
    https://docs.generatepress.com/article/generate_navigation_location/

    Seems the navigation only appears in sidebar on single post, so I guess there’s a filter is generating the new location for single post pages.

    If you use Code snippets plugin, check if the filter is added as a snippet and disable it.

    If you are using child theme, check your functions.php file.

    Let me know 🙂

    #1660035
    sas40

    Thank you for your reaction.

    I ‘ve used Customize > Layout > Primary Navigation. But after setting on default. Still the same problem.
    I use code snippets plugin. But after deactivating all this snippets. It still shows the navigation in the sidebar.

    Still I don’t understand why the navigation shows on that location. My preference doesn’t go to resolve it by changing the filter.

    What I’ve done now is:

    layout > header > use navigation as header
    But after this, the subtitle and search where gone.

    So the following move I did is:
    layout > primary navigation > enable search navigation

    And I’ve put the subtitle in the maintitle.

    But still I want to understand where did this go wrong.

    #1660521
    David
    Staff
    Customer Support

    Hi there,

    This is what i see when i visit the two links:

    2021-02-16_15-19-46

    #1661498
    sas40

    Hi David,

    After a reaction of Ying, I have changed it.

    1. Your screenshots is after I’ve done this:
    layout > header > use navigation as header
    But after this, the subtitle and search where gone.

    So the following move I did is:
    layout > primary navigation > enable search navigation

    And I’ve put the subtitle in the maintitle.

    But I don’t want it like that, because the subtitle is now gone. But it is the best solution.

    ==

    2. My problem was/is now. The primair navigation is after read more in the side bar

    #1661868
    David
    Staff
    Customer Support

    Is there any chance i can see the site with Navigation in the sidebar ? Maybe on a staging site ?

    #1661887
    sas40

    yes now!

    #1662087
    Tom
    Lead Developer
    Lead Developer

    Do you have any Header Elements in “Appearance > Elements”?

    If so, perhaps one of them has the Navigation Location set in the “Site Header” tab?

    #1662745
    sas40

    Oooh this terrible. I am ashamed. I was forgotten this elements. Thank you! Thank you! You are right. I’m sorry you (and mostly David) put the time in this stupidity.

    #1663514
    Tom
    Lead Developer
    Lead Developer

    No problem at all! We’re happy to help 🙂

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