Why am I getting two scroll bars?
Table of Contents
Why am I getting two scroll bars?
You’re basically getting a double scrollbar because your giving the body min-height of 100vh AND setting an overflow. It appears this was done to keep the menu in the correct position on mobile devices. That fixed things in Chrome, I assume other browsers as well but I didn’t do any heavy testing.
How do I get rid of the scroll bar on safari?
To hide the scrollbar from Chrome, Safari, Edge, and Opera, you can use the pseudo-element selector :-webkit-scrollbar and set the display property to none .
How do I show scroll bars in Safari?
In the Menu bar, click Apple Menu > System Preferences. Click General. Next to the “Show scroll bars” heading, select “Always.”
How do I get rid of double scroll bars?
Double scrollbar appears on the website then browsers are handling this weirdly, causing double scrollbars. So you should either turn off the Overflow-X option, as you most likely won’t need it anyway, or find the height CSS code and remove it.
Why does vertical scrollbar appear?
Vertical Scrolling Webpage As long as the browser window is less than 4000 pixels high, vertical scroll bars will appear to the right. Note that you can also use a percentage value (like we did in the above scroll box), but not all browsers will automatically display the scroll bar.
How do you hide overflow Scrolls?
Add overflow: hidden; to hide both the horizontal and vertical scrollbar.
- body { overflow: hidden; /* Hide scrollbars */ }
- body { overflow-y: hidden; /* Hide vertical scrollbar */ overflow-x: hidden; /* Hide horizontal scrollbar */
- /* Hide scrollbar for Chrome, Safari and Opera */ .example::-webkit-scrollbar {
How do I get rid of the scroll bar on Mac?
Disable Disappearing Scroll Bars – Mac
- From the Apple menu, select System Preferences.
- Click General. Once you click General the following menu will appear.
- Set the Show Scroll Bars setting to Always.
- Close System Preferences.
Why can’t I scroll on Safari?
Try double clicking the Home button or swipe up from the bottom of the screen and swipe Safari upwards. Go to Settings/Safari and clear History and Website Data. Open Safari and test. Safari – Clear the history and cookies on your iPhone, iPad, or iPod touch.
How do I get rid of the two scroll bars on Google Chrome?
Type “Remove Scrollbars” (without quotes) in the search box and press “Enter.” Click the “Remove Scrollbars” option located on top of the search results.
How do I get rid of the vertical scroll bar?
To hide the vertical scrollbar and prevent vertical scrolling, use overflow-y: hidden like so:
- HTML.
- CSS.
How do I change the vertical scroll bar?
For vertical scrollable bar use the x and y axis. Set the overflow-x:hidden; and overflow-y:auto; that will automatically hide the horizontal scroll bar and present only vertical scrollbar. Here the scroll div will be vertically scrollable.
How do I stop Div scrolling?
To hide the scrollbar and disable scrolling, we can use the CSS overflow property. This property determines what to do with content that extends beyond the boundaries of its container. To prevent scrolling with this property, just apply the rule overflow: hidden to the body (for the entire page) or a container element.
How do I change the scroll bar on my Mac?
How to Configure Scroll Bars in OS X and macOS
- From the Apple menu, select System Preferences.
- In the System Preferences window, choose the General icon near the upper left corner.
- Locate the Show Scroll Bars area.
- The second section, Click in the scroll bar to, has two options:
- Exit System Preferences.
How do I make my Mac scroll like Windows?
Go to Settings in order to customize the app. Navigate to Scrolling in order to choose the Scroll type. You can choose to have vertical scrolling, horizontal scrolling or keep scrolling on the edges. Under Settings, you can control the speed and acceleration.
How do I turn on auto scroll in Safari?
Open Safari and head over to whichever webpage you want to automatically scroll down, whether it’s a long article or a how-to like this tutorial. Now, tap on the Share button in the bottom toolbar and choose the “Safari Auto Scroll” shortcut option from the list of actions in the share sheet.