Solved

Fix Javascript / CSS to remove unwanted scrollbar

Posted on 2012-03-28
3
555 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…

863 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

21 Experts available now in Live!

Get 1:1 Help Now