Large Gap on right side f site causing horizontal scroll bar

Hi!
I've been searching Google and been adding width 100% and auto to no avail. Can someone tell me why there is a ginormous gap on the right side of this layout?

http://sandbox.intrepidrealist.com/chocolate-maya/

Thanks!
LVL 9
Alicia St RoseOwner & Principle Developer/DesignerAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Nathan RileyFounderCommented:
I'm, not seeing it, did you already fix?

I see elements with the width set to 100%.
0
Tom BeckCommented:
I see the problem (in Firefox) and I don't yet have a solution but maybe this observation will spark something in another expert.

In Firebug, if you remove class="flexslider" from the div holding the flexslider, the problem goes away. Although the slides continue to change, this is not a solution of course because class="flexslider" is required to initiate the flexslider on load.
0
Alicia St RoseOwner & Principle Developer/DesignerAuthor Commented:
Thanks, Tom Beck!
You've let me on the right track. I commented out the captions and it's all good. So, now I've got to see what buggy things going on with those. I've uncommented, if anyone can see the problem...
0
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

Tom BeckCommented:
I looked at it again, but I'm no Flexslider expert. I cannot find an example anywhere online of a Flexslider with markup even remotely similar to what you have.
<li>
			<a href="">			<img width="1400" height="627" src="http://sandbox.intrepidrealist.com/chocolate-maya/wp-content/uploads/2015/04/test-slide04.jpg" class="attachment-full" alt="test-slide04" /></a>
			<!--Slider Description example-->
			<div class="slide-desc light" style="width: 600px; top: 375px; left: 50px;">
		
					 <h2 class="slide-caption-title" >Dreamy</h2>
					 <p>Blah blah blah blah blah blah blah blah blah blah blah </p>  
					
					<!-- <p>Demo description here. Demo description here. Demo description here. Demo description here. Demo description here. <a class="more" href="#">more</a></p> -->
		  </div>
		</li>

Open in new window

Where did you get that markup?

With those description divs positioned absolute and with hard coded widths and top/left positions, I don't see how this can ever work properly. The flex slider images are responding to changes in browser window size but the descriptions are not able to with that css. Some of the descriptions are left 600px. That will be off the screen on a device less than 600px wide.
0
Alicia St RoseOwner & Principle Developer/DesignerAuthor Commented:
Sorry, I'm still here and will take a closer look at Tom's suggestions.
I may have to put a div around captions with auto margin, so they can remain on screen.
I'm using inline styles with custom fields so my client can position the caption depending on the photo used.
0
Tom BeckCommented:
As a general rule, if you want to position things on the screen absolutely but you still want it to remain in the viewport regardless of screen size, you need to use percentages rather than fixed pixels. You will also likely need media queries to adjust the size of the description divs and the font sizes for smaller screens.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Alicia St RoseOwner & Principle Developer/DesignerAuthor Commented:
@Tom Beck!
I'm picking up what you're puttin' down.
Heading in right now to make some changes. I see some points in your future!
0
Alicia St RoseOwner & Principle Developer/DesignerAuthor Commented:
Thank you!!!!
Percentages did the trick!
0
Tom BeckCommented:
You're welcome. Thanks for the points.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
CSS

From novice to tech pro — start learning today.