Site logo

Archived topic

sticky off canvas menu

12 replies · Started by Klaus on October 26, 2020

Viewing posts 1–13 of 13

Hi GP-team,

I create a sticky off canvas mneu. When I scroll down the hamburger menu jumps from the right to left. What is necessary that the hamburger will be always on the right side

Hi there,

Can you activate the sticky navigation first?

I don't believe it's activated currently.

Let me know :)

Hi Leo

it is on Navi and off canvas

My primary menu is an empty menu. Could this cause these effects?

No shouldn't be.

Can you activate the option and let me have a look?

If not I'll provide the CSS.

I solved like this (not sure if this the best way)

navigation as a header on
moblie navigation on
off canvas off
set the breakpoint for mobile navigation to 6000px

then ccs-code in the child theme (because I don't want to see the logo)

.main-navigation .site-logo.navigation-logo img, .mobile-header-navigation .site-logo.mobile-header-logo img, .navigation-search input[type="search"] {
	display: none;
}

Primary menu is activated and the off canvas is disabeled

Sorry I thought you wanted the off canvas menu?

It really shouldn't be that complicated.

Can you try my steps first?

So remove the logo if you don't want a logo, then activate this option:
https://docs.generatepress.com/article/navigation-as-a-header/

Please also disable the caching plugin so I can view the source code.

I deactivate the cache-plugin and activate header for navigation

Do you want to use the off canvas navigation or no?

If yes can you activate it?

And change the breakpoint back to 768px for now.

I change the breakpoint to 768 px. The only thing now is that there is no hamburger menu, which I prefer

This archived topic is closed to new replies.