Solved

Fix Javascript / CSS to remove unwanted scrollbar

Posted on 2012-03-28
3
554 Views
Last Modified: 2012-03-29
Hi Experts,

Can anyone have a look at this site and fix an issue with a scrollbar (inactive) which shouldn't be there at all?

http://roros360.com
Zoom out of the map a few times until you see a pin marker, click on it
In the popup, click on the link
Near the bottom of the screen to the left of the right sidebar is a tab containing a left arrow, click on it.
An overlay will scroll left.

Notice here that the overlay has a scrollbar on the right, which will never activate (due to sizing).  That is the thing I need fixed - for it not to appear.

Thanks for looking.
0
Comment
Question by:cyberkiwi
  • 2
3 Comments
 
LVL 82

Accepted Solution

by:
leakim971 earned 500 total points
ID: 37780233
In this file : http://roros360.com/wp-content/themes/WPLocator/style.css
look for this line :
.box_content{ overflow:scroll; height:100%; padding-right:20px; overflow-x:hidden; }

Open in new window

replace it by :
.box_content{ height:100%; padding-right:20px; overflow-x:hidden; }

Open in new window

0
 
LVL 58

Author Closing Comment

by:cyberkiwi
ID: 37781108
Thank you sir! You have saved the day. I didn't actually overwrite it but I see where you are coming from.  I updated custom.css to set {overflow-y:auto} on the same css-selector.

Once again, thanks!
0
 
LVL 82

Expert Comment

by:leakim971
ID: 37781523
you're welcome!
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
In this tutorial viewers will learn how to style different bullet points for unordered lists in CSS. Begin with a normal unordered list; the default bullet point is a solid circle: In the CSS, create a defined class of unordered list by typing "ul.S…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now