many class fixes and revive shiny class for item titles in a new way

This commit is contained in:
Mario Vavti
2017-03-13 16:34:23 +01:00
parent 188782c461
commit 700c05a55b
17 changed files with 85 additions and 117 deletions

View File

@@ -18,7 +18,7 @@ $(document).ready(function() {
if($(window).width() > 767) {
$('#left_aside_wrapper').stick_in_parent({
offset_top: $('nav').outerHeight(true),
offset_top: $('nav').outerHeight(true) + 10,
parent: '#region_1',
spacer: '#left_aside_spacer'
});
@@ -105,7 +105,7 @@ function toggleAside() {
$('main').addClass('region_1-on')
$('<div id="overlay"></div>').appendTo('section');
$('#left_aside_wrapper').stick_in_parent({
offset_top: $('nav').outerHeight(true) - 10,
offset_top: $('nav').outerHeight(true) + 10,
parent: '#region_1',
spacer: '#left_aside_spacer'
});