<script> jQuery(document).ready(function() { jQuery("#dd-menu-mobile ul li a").attr("onclick", "menuClose()"); jQuery(".dd-cta-close").attr("onclick", "menuClose()"); }); function menuClose() { var element = document.getElementById("dd-section"); element.classList.toggle("dd-m-menu"); } </script>
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter