Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to create a fixed Menu on scroll? #81

Open
pamelamartello opened this issue Feb 28, 2020 · 2 comments
Open

How to create a fixed Menu on scroll? #81

pamelamartello opened this issue Feb 28, 2020 · 2 comments

Comments

@pamelamartello
Copy link

Hello,

I was wondering if and how to make the MENU to appear fixed when scrolling down.

Any insights would be appreciated

Thanks a lot

@pamelamartello pamelamartello changed the title How to Create a Fixed Menu on Scroll? How to create a fixed Menu on scroll? Feb 28, 2020
@zhuganglie
Copy link

+1
I tried #sidebar {position: fixed} but no luck.

@Prashu-01
Copy link

Hey @pamelamartello, what about #slidebar {position: fixed} and then setting the "margin-top" of the top most element to 4rem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants