Line 111: | Line 111: | ||
</div> | </div> | ||
<!-- .cd-auto-hide-header --> | <!-- .cd-auto-hide-header --> | ||
+ | <script> | ||
+ | $(window).on('resize', function() { | ||
+ | if($(window).width() < 1024) { | ||
+ | $('#cd-navigation').addClass('mobile-menu'); | ||
+ | } | ||
+ | }); | ||
+ | </script> | ||
</header> | </header> | ||
</html> | </html> |
Revision as of 15:55, 19 October 2016