Sign in to follow this  
Followers 0
yannick

Fixed Header And Sidebar

3 posts in this topic

Hello,

 

I would like to have a fixed header (logo on top-left) and a fixed sidebar of my menu, while i'm scrolling the page.

Is it possible ?

 

thank you,

Yannick


Share this post


Link to post
Share on other sites

Hi,

 

This can be done with custom CSS, you will need to target your head using this:

 

 

#header { }

 

 

Then add your CSS properties, for a fixed element, you will need to use position:fixed. I recommend you visit W3Schools - http://www.w3schools.com/css/


Please search our forums, before posting!

Share this post


Link to post
Share on other sites

Thank you Danny.

 

It works perfectly with the custom css, kind of :

#header { position: fixed; }
#sidebar1 { position: fixed; }
 

Best regards,

Yannick

 

I have another question, but I'm gonna create a new topic.


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  
Followers 0