You have to use Javascript to implement this feature.

When scrolling the page, check out the position of your sidenav. If 
necessary, set the position attribute of sidenav to 'fixed'.

I am trying to essentially reproduce the sidenav effect that Bootstrap.com 
> has on its website.  I am able to have my sidenav fixed so it doesn't 
> scroll up or down when the rest of the page moves.
>
> But Bootstrap's sidenav initially moves with the page as you scroll down 
> until the sidenav gets to about 50 pixels from the top of the screen when 
> it then becomes fixed.  Mine starts out as fixed and never moves at all.  
>
> I've poured over the css and html and cannot see where this is 
> accomplished.
>

-- 
You received this message because you are subscribed to the Google Groups 
"twitter-bootstrap" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to