Note: If after pasting any code it doesn’t work as expected, just save and reload the Edit Page. Then, it will work properly.
1. Code snippet in HTML Widget:
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script> <script> var $ = jQuery $(document).ready(function(){ var menu = $('.fullscreen-menu, .fullscreen-menu .elementor-element') $('.open-button').on('click', function(){ menu.addClass('opening') setTimeout(function(){ menu.addClass('open') },500) }) function closeMenu(){ menu.removeClass('opening') setTimeout(function(){ menu.removeClass('open') },500) } $('.close-button').on('click', closeMenu) $('.elementor-widget-nav-menu a').on('click', closeMenu) }) $('.open-button a').on('click', function(e){ e.preventDefault() }) </script>
2. Code snippet in Fullscreen Menu Section:
selector{ position: fixed; top: 0; left: 0; width: 100%; height: 100%; transform: translateY(-100%); transition: all 0.5s !important; opacity: 0; z-index: 1; overflow-y: auto; overflow-x: hidden; } selector.opening{ transform: translateY(0); opacity: 1; }
3. Code snippet in Divider Widget 1 (Close button):
selector{ transform: rotate(45deg); }
4. Code snippet in Divider Widget 2 (Close button):
selector{ transform: rotate(-45deg); }
5. Code snippet in Inner Section Widget (Close button):
selector{ width: 100px; position: absolute; top: 10px; right: 10px; cursor: pointer; z-index: 2; } @media (max-width: 767px){ selector{ transform: scale(0.7); transform-origin: top right; } }
6. Code snippet in Nav Menu Widget:
selector{ --underline-color: #333333; } selector a{ display: table; margin-left: auto; margin-right: auto; position: relative; } selector.elementor-element a::after{ content: ""; position: absolute; bottom: 0; left: 0; background: var(--underline-color) !important; width: 100%; height: 4px; transform: scaleX(0); transform-origin: left !important; opacity: 1 !important; } selector a:hover::after{ transform: scaleX(1); } selector li{ opacity: 0; transition: all 0.5s; } selector.open li{ opacity: 1; } selector li:nth-child(1){ transition-delay: 0s; } selector li:nth-child(2){ transition-delay: 50ms; } selector li:nth-child(3){ transition-delay: 100ms; } selector li:nth-child(4){ transition-delay: 150ms; } selector li:nth-child(5){ transition-delay: 200ms; }
7. Code snippet in Social Icons Widget:
selector{ transition: all 0.5s; opacity: 0; transition-delay: 250ms; } selector.open{ opacity: 1; }
8. Code snippet in Icon List Widget (mobile):
selector{ transition: all 0.5s; opacity: 0; transition-delay: 300ms; } selector.open{ opacity: 1; }