Archived

This topic is now archived and is closed to further replies.

  • 0

Fixed Header And Sidebar

Question

Posted · Report post

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

2 answers to this question

Posted · Report post

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/

Share this post


Link to post
Share on other sites

Posted · Report post

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