/    Sign up×
Community /Pin to ProfileBookmark

CSS sidebar fixed position with scroll

I have a sidebar menu which is position fixed. I have about 6-8 links on my page.

When I change my screensize to a tablet or smaller screen sometimes they don’t all fit vertically.

How can I make these now scroll.

to post a comment
CSS

3 Comments(s)

Copy linkTweet thisAlerts:
@VITSUSAJun 23.2020 — Click on the mentioned hyperlink to know about how you can fix the sidebar menu -

https://www.w3schools.com/howto/howto_css_sidebar_responsive.asp
Copy linkTweet thisAlerts:
@aanandmadhavJun 23.2020 — overflow-y: auto;

You tried this on the parent div of list of menu items?
Copy linkTweet thisAlerts:
@HarshShahJun 25.2020 — @kiwis80#1619797

In the below link you can create a responsive sidebar menu.

https://codemyui.com/responsive-sidebar-menu/
×

Success!

Help @kiwis spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.7,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...