Site logo

[Resolved] Question about items outside hamburger menu on mobile

Home Forums Support [Resolved] Question about items outside hamburger menu on mobile

Home Forums Support Question about items outside hamburger menu on mobile

Viewing 7 posts - 16 through 22 (of 22 total)
  • Author
    Posts
  • #2558098
    Fernando
    Customer Support

    You can try enabling the Navigation Search in Appearance > Customize > Layout > Primary Navigation. Reference: https://docs.generatepress.com/article/primary-navigation-layout-overview/

    Then, we can make it appear only on mobile.

    Or, do you want the search icon you currently have on desktop on mobile as well? This one: https://share.getcloudapp.com/E0uX81kP

    #2558104
    Hernan

    That’s right, I need that search icon. It is a custom post type with a custom search page

    I sense that what I want to do is not possible. It would be great if there was a hook before the menu, it would be very useful for adding icons. While in the menu_bar_items hook it would be very useful to add buttons after the menu. I’m not sure how frequent this need can be but I think it would be very cool

    #2558121
    Fernando
    Customer Support

    It should be possible.

    Can you provide admin login credentials so we can take a closer look at your current structure and see what needs to be done?

    Please use the Private Information field for this: https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information

    #2558687
    Hernan

    I think I prefer to leave it here. What I can comment on my menu is that it is a “common” menu, the current search icon is font-awesome:

    The final two buttons are inserted by hook.

    At one point I thought of replacing the search icon with one inserted by hook. But I couldn’t properly insert or select the container to apply the “order:-1” property to it

    #2559452
    Fernando
    Customer Support

    I see.

    Well, if you’re using the Mobile Header, the other way would be to add a Block Element – Hook hooked to inside_mobile_header.

    Then, re-add the Search Icon there.

    #2560593
    Hernan

    Thank you ! Extremely interesting that hook

    I am going to work on a mobile menu (that does not have a search icon) and I will insert the icon there using this hook

    Thank you so much !

    #2560732
    Fernando
    Customer Support

    You’re welcome, Hernan!

Viewing 7 posts - 16 through 22 (of 22 total)
  • You must be logged in to reply to this topic.