From b8fb7dc3734b7dcfb8d983fa05d0c6ef3e0e5db5 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Mon, 5 Dec 2016 14:43:46 +0000 Subject: [PATCH] fix navbar colour change --- static/src/js/creative/creative.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/static/src/js/creative/creative.js b/static/src/js/creative/creative.js index 08373b0..07b7145 100644 --- a/static/src/js/creative/creative.js +++ b/static/src/js/creative/creative.js @@ -28,3 +28,10 @@ $('body').scrollspy({ $('.navbar-collapse ul li a').click(function() { $('.navbar-toggle:visible').click(); }); + +// Offset for Main Navigation +$('#main-nav').affix({ + offset: { + top: NAVBAR_HEIGHT * 1.5 + } +});