Site logo

Archived topic

Sub-menu not showing in Nav Widget

4 replies · Started by Robert on February 28, 2023

Viewing posts 1–5 of 5

Hi,
I love this theme and the Generateblocks plugin, It gives so many options but I feel I am out of my depth for this but you guys have got me so far already!

I have used CSS on my primary menu to make it horizontal scroll. This seems to affect any menu that I select for the Off Canvas.
I am therefore using the Nav Widget in Off-Canvas which works except the sub-menus are not displayed.

I have found this by David and Elvin (https://generatepress.com/forums/topic/sub-menu-items-not-showing) but it refers to the footer widgets.

I have tried to adapt it for the off canvas by trying .slideout-navigation rather than .footer-bar but that is not correct.

.slideout-navigation .widget_nav_menu li ul {
display: block;
position: absolute;
left: 0;
}

Hi there,

the nav widget is a bit "poop" to want for a better word.
Do you want all sub menus permanently displayed?

Or do you want them to have toggles top open? IF so then you will want to use the Appearance > Menu instead of a widget.

If you want to selectively display content in the off canvas menu depending on screensize, then we can help with some CSS for that

Hi David,

Thank you for your explanation :)

The toggles was my intention but the horizontal scroll for primary menu seems to make any menu I add to the off canvas also scroll, so I think that is not an option?

Having them permanently displayed might therefore be the best option, it just depends on how they will show up on mobile.

If you can help to have the sub-menus permanently displayed that would be great, thank you.

Cheers,
Rob

Hi David,
Ling has replied to an earlier support request regarding an Off Canvas menu problem now allowing me to use a regular menu rather than widget.

As you suggested that now allows me to have regular drop downs for Sub-menus.

Many thanks,
The support you all offer is second to none!!

Glad to hear that

This archived topic is closed to new replies.