Jump to content
Sign in to follow this  
blzalewski

Sidebar that follows when you scroll

Recommended Posts

blzalewski

How do you change the sidebar so it follows when the user scrolls? (i.e. just like how the navbar stays at the top of the page I want the sidebar to stay in a fixed position when the user scrolls down the page)

Share this post


Link to post
Share on other sites
beardedavenger
You can do this with CSS, just kinda depends on what sidebar config you are using. For example, if you are using just one sidebar on the right, you can do something like; [code]#sidebar-wrap{position:fixed;right:0;} @media (max-width:767px){#sidebar-wrap{position:static;}}[/code] This goes into the Custom CSS box, located under PageLines--->Site Options---->Custom Code. Nick

Something big is coming for DMS + photographers.

http://fotostheme.com

 

Nick Haskins & CO - New home for all of my PageLines Store products! 

http://nickhaskins.co

 

Better DMS - News, Tutorials, and Tips

http://betterdms.com

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×