Site logo

Archived topic

Add Different Menu Bar Items to Desktop vs Mobile

3 replies · Started by Gilad Gafni on January 13, 2022

Viewing posts 1–4 of 4

Hi GP Team,

I have a React widget that I need to add to the menu bar.

The widget has to be different between Desktop menu and Mobile menu.

Using generate_menu_bar_items, the same widget is added to both and, in turn, causes it to fail (even though one is hidden).

Any hint as to how I can add different content to the different menu bars?

Hi Gilad,

Can you explain some more about the widget?

The widget has to be different between Desktop menu and Mobile menu.

What does this mean?

Resolved by using generate_after_navigation for desktop and generate_inside_mobile_header for mobile.

Cool, glad you figured it out :)

This archived topic is closed to new replies.