On December 19, 2013 at 10:00 pm
this is a known bug and will be fixed in the future version. Here is how to fix this:
Open up asteria.js and replace this:
if (jQuery(window).width() < 768) {
//jQuery("#topmenu").attr("id","sidr");
var padmenu = jQuery("#simple-menu").html();
jQuery('#simple-menu').sidr({
name: 'sidr-main',
source: '#topmenu'
});
jQuery(".sidr").prepend("<div class='pad_menutitle'>"+padmenu+"<span><i class='fa-times'></i></span></div>");
jQuery(".pad_menutitle span").click(function() {
jQuery.sidr('close', 'sidr-main')
preventDefaultEvents: false;
});
}
with this:
//jQuery("#topmenu").attr("id","sidr");
var padmenu = jQuery("#simple-menu").html();
jQuery('#simple-menu').sidr({
name: 'sidr-main',
source: '#topmenu'
});
jQuery(".sidr").prepend("<div class='pad_menutitle'>"+padmenu+"<span><i class='fa-times'></i></span></div>");
jQuery(".pad_menutitle span").click(function() {
jQuery.sidr('close', 'sidr-main')
preventDefaultEvents: false;
});
and then add this to your custom css tab:
/*Hide the mobile menu on desktop*/
#sidr-main{ display:none;}