(This page includes affiliate links. If you click and purchase, I receive a small commission at no extra cost from you and that way you can support me. I only recommend tools that I have personally used and loved.)
Get Elementor Pro Today –
1 – Elementor Pro
Don’t want to make from scratch? Buy the template instead 🙂
Introduction – Full Screen Animated Modern Menu #2 with Elementor & GSAP
In this tutorial, we are learning to make full screen GSAP animated menu that opens/closes when clicked on our toggle button. This menu is perfect when you have lots of menu items to show. Even if you don’t have lots of items, you can still use it and replace the texts with graphic elements instead.
Animated Hamburger Icon (Toggle between Open and Close Icon)
- Refer to this video to understand it better. (https://youtu.be/FzcW342IJ-c?t=202)
- Width in .menu-icon changes width of the hamburger icon.
- height in .menu-icon changes the distance between each line.
- height in .line changes the thickness of the each lines.
- .menu-wrapper contains the styling for background, padding, border etc.
- Each CSS class has an .active state, change the appropriate values for background, border etc.
Animated Modern Menu #2 (Full Screen)
- dm-full-nav-2 is the CSS class of the main container.
- dm-toggle-full-2 is the CSS class of the hamburger icon. You can use any widget for the toggle button.
- dm-nav-column is the CSS class of each column containers.
- dm-menu-text-1 is the CSS class of the elements in first column. dm-menu-text-2 is the CSS class of the elements in second column. In this code, I have added till 5, but you can easily add more by duplicating the code from lines 122-126. Just make sure to change the numbers in order.
/*No Scroll Code, Only to be used for Static Header*/