Skip to content

Instantly share code, notes, and snippets.

Created March 9, 2015 21:55
What would you like to do?
Customizations using Sidr ( )
// Mobile Menu
$('.site-header .wrap').append( '<div class="mobile-show"><a id="sidr-menu" href="#sidr-menu" class="mobile-menu-toggle"></a></div>' );
name: 'sidr-mobile-menu',
source: '.nav-header',
side: 'right',
$(document).on('click', '.sidr-open', function(){
$.sidr('close', 'sidr-mobile-menu');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment