In this tutorial I'm going to show you how to create an amazing Elementor off canvas menu, that works for desktop, tablet and mobile.
You will learn how to replicate this awesome Elementor off canvas navigation menu:
Here it is on a production website:
Features:
- Full Design Flexibility: The off canvas content that shows up is an Elementor Container Template, that you can design however you wish
- Make It Your Own: Adjust the colors of everything as you wish, as well as other styles
- Awesome Design: Wow your visitors and clients with this great design
- Accessible: Keyboard and screen reader ready
- Made For Hello Theme: Supports Hello Theme, might not work for other themes
Let's get started!
First, let's copy paste the required code in your header template
This is a premium tutorial. Purchase access to unlock the full tutorial.
12 Responses
Hi Maxime.
So it all works great, except I encountered something unwanted that happens many times on mobile. As soon as I open the menu and scroll, my header disappears on the "page preview". When I close the menu and go back to the page, the Header went to the left and I can see 30% of it. To fix it I have to flip the phone several times so the header snaps into it's place.
This bug can be replicated also on Desktop, open the menu, then zoom out and in again(ctrl + mouse scroll), and the header overflows to the left side.
Can you help me?
PS: Hello Theme and have 100%width on the header. I do have it sticky and changes the color on scroll with just css (and offset effects), tried even with Template Headers from Elementor Pro but to no avail.
Greetings Joao!
Please share your URL with me, I will have a look.
Essentially it is because your header's width and/or position is calculated from JavaScript, for one reason or another. I will need your URL to find out the reason.
Hello maxime,
That works great for me.
I still have an issue. If I have a sub-menu, I can't get the sub-menu to deploy below the main entry; it's out of place and out of the frame. In fact, I'd have to be able to apply the elementor widget option Content>Layout > Mobile drop-down menu > Threshold > Desktop for this to work, but it's obviously not planned. Do you have a workaround? Here's the url for the recipe site: https://542c-14ae9e63eb87.wptiger.fr/
Thank you in advance,
OLivier
Hey Olivier!
Here is what you can add, hopefully it will work for you!
Add this to the nav menu element Custom CSS field:
Cheers!
Thanks Max !
Hello,
Is menu bad for SEO?
Greetings!
No, it's fine for SEO!
You sure?
I don’t see template under code?
If you right click > inspect, you will see that the
How does this do in terms of accessibility standards and folks who are using screen readers?
Pretty well! I added extra instructions to add an aria label to the nav toggle just now, for even better A11Y.
Keep in mind it will also depend on the elements you will be adding in your navigation template. Ideally, these would be well structured nav elements like the WordPress Menu element.
Cheers!