From 962a3f7945df3fcc2fe533f2a645dc246fbd4dca Mon Sep 17 00:00:00 2001 From: Mario Date: Tue, 19 Sep 2017 22:40:05 +0200 Subject: fix some issues with sticky-kit --- view/theme/redbasic/js/redbasic.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'view/theme') diff --git a/view/theme/redbasic/js/redbasic.js b/view/theme/redbasic/js/redbasic.js index 5a586b9f9..b36e35ccc 100644 --- a/view/theme/redbasic/js/redbasic.js +++ b/view/theme/redbasic/js/redbasic.js @@ -16,12 +16,10 @@ $(document).ready(function() { } $('#css3-calc').remove(); // Remove the test element - - if($(window).width() > 767) { $('#left_aside_wrapper').stick_in_parent({ - offset_top: $('nav').outerHeight(true) + 10, - parent: '#region_1', + offset_top: parseInt($('#region_1').css('padding-top')), + parent: 'main', spacer: '#left_aside_spacer' }); } -- cgit v1.2.3