I checked the source code, it’s the code pasted problem, the code you pasted is different from the orignal codes, try again with following code.
jQuery(document).ready(function($){
function resetMain(){
var sidebarWidth=$(‘#sidebar’).width();
var mainWidth=$(window).width()-sidebarWidth-60;
if($(window).width()> 1023){
$(‘#main’).css(‘width’,mainWidth+’px’);
}else{
$(‘#main’).css(‘width’,’auto’);
}
}
resetMain();
$(window).resize(function(){
resetMain();
});
});
Or send me your wordpress login information, I will do that.