[Resolved] Displaying menu item on mobile menu

Home Forums Support [Resolved] Displaying menu item on mobile menu

Home Forums Support Displaying menu item on mobile menu

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #778183
    Deniz Akay

    Hello,

    There is an option in generatepress to display cart icon on both desktop and mobile menu. If we check this options, cart is displaying separately on the right side of mobile menu. You don’t have to expand mobile menu to see it.

    I want to display one more menu item as fixed item like shopping cart icon. I have some basic css knowledge, i hope you can help me.

    Thanks a lot!

    #778431
    Leo
    Staff
    Customer Support

    Hi there,

    You can use this hook:
    https://docs.generatepress.com/article/generate_inside_mobile_menu_bar/

    Which is included in Hooks Elements:
    https://docs.generatepress.com/article/hooks-element-overview/

    Once the item is added we can help with some simple CSS πŸ™‚

    #787603
    Deniz Akay

    I’ve added a menu item with “generate_inside_mobile_menu_bar” hook as you told. Works perfect, thanks! It’s actually a login/register link and I want to show it to logged out visitors only. Can you help me on this?

    I can’t use a “visibility rules” plugin and add a menu item on menu settings, because I want to display it on mobile menu separately.

    (Currently I’ve disabled the hook because I don’t want to logged in users to see it.)

    #787756
    David
    Staff
    Customer Support

    Hi there,

    within the Hook Element > Display Rules > Users – you can select Logged Out πŸ™‚

    #787783
    Deniz Akay

    God, I wasted big time on google to find a solution πŸ™‚ Thanks for the notice!

    #787788
    David
    Staff
    Customer Support

    Awesome – glad to be of help.

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