better layout for global sidebars on mobile

v1.18.x
psychobunny 11 years ago
parent 15c2e4d968
commit 4693f64bef

@ -43,8 +43,8 @@
if (location === 'footer') {
$('#content').append($('<div class="col-xs-12"><div widget-area="footer"></div></div>'));
} else if (location === 'sidebar') {
$('#content > *').wrapAll($('<div class="col-xs-9"></div>'));
$('#content').append($('<div class="col-xs-3"><div widget-area="sidebar"></div></div>'));
$('#content > *').wrapAll($('<div class="col-lg-9 col-xs-12"></div>'));
$('#content').append($('<div class="col-lg-3 col-xs-12"><div widget-area="sidebar"></div></div>'));
}
area = $('#content [widget-area="' + location + '"]');

Loading…
Cancel
Save