Disabling double vertical scrollbar and horizontal scrolling?
-
Hi there ??
I have a WordPress site here:
and at some unknown point a month or so ago double vertical scrollbars appeared on the site.
I was able to fix this (remove the second vertical scrollbar) by adding this code to the Additional CSS section for the whole site:
html, body { max-width: 100%; overflow-y: visible; }
However, I later noticed that the site can be scrolled very slightly horizontally on my iPhone and iPad (not on desktop browsers though).
The solution appeared to be adding:
overflow-x: hidden
to the same Additional CSS section.
However, it appears that if you’re using ‘visible’ for one of the overflow values, then both have to be ‘visible’ … you can’t have one set to ‘visible’ and one set to ‘hidden’.
This was the closest I got to an explanation of why this is the case:
https://teamtreehouse.com/community/overflow-y-not-visible-when-overflow-x-is-set-to-scroll
At the moment I’ve prioritised not having the double vertical scrollbars as this is much more annoying than the slight horizontal scrolling … but I’d ideally like to fix both problems.
Can anyone guide me on the steps I can take to fix both of these issues?
Thanks so much for your help!
David
- This topic was modified 1 year, 8 months ago by . Reason: redundant link removed
- This topic was modified 1 year, 8 months ago by .
The page I need help with: [log in to see the link]
- The topic ‘Disabling double vertical scrollbar and horizontal scrolling?’ is closed to new replies.