Forums
Forums / Themes and Templates / Fixed Sidebar
(@arche)
10 years, 7 months ago
Hi Guys,
I would like to have the sidebar of this website to be fixed, that it shows full page and when I scroll it stays where it is.
I am not a coder but googling around I found that by inputting into the stylesheet:
.sidebar { position: fixed; height:100%; }
…I can have a very similar result to what I want BUT links that are present in the sidebar don’t work any longer if I do this edit.
Any help please?
(@wpvalet)
Hello there,
You can fix that by adding a zindex parameter to your CSS
So something like :
.sidebar { z-index: 999; }
should fix it.
Cheers
Thanks mate!
Glad to help ARCHE
The topic ‘Fixed Sidebar’ is closed to new replies.