-
Notifications
You must be signed in to change notification settings - Fork 501
How to set the offset without editing jquery.nav.js? #162
Comments
Check out this demo |
I can not use margin-top, this is not allowed in the design. |
It has zero impact on the design if you use a negative top margin and top padding. |
I've already tried it. |
I'm not sure what predefined indents means. I do not want to add it back to the plugin because it is more complexity to add, you can't change the value across sections, and you can't adjust it responsively. Using a CSS approach simplifies and solves all of this easily. |
I need 40px offset from top.
Is there any way to customize this option?
Something like this
$('#navbar').onePageNav({
'scrollOffset': 117
});
The text was updated successfully, but these errors were encountered: