fix navbar colour change
This commit is contained in:
parent
c11cf8cb0a
commit
b8fb7dc373
1 changed files with 7 additions and 0 deletions
|
@ -28,3 +28,10 @@ $('body').scrollspy({
|
||||||
$('.navbar-collapse ul li a').click(function() {
|
$('.navbar-collapse ul li a').click(function() {
|
||||||
$('.navbar-toggle:visible').click();
|
$('.navbar-toggle:visible').click();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Offset for Main Navigation
|
||||||
|
$('#main-nav').affix({
|
||||||
|
offset: {
|
||||||
|
top: NAVBAR_HEIGHT * 1.5
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
Reference in a new issue