Solved

removing spacing above home page thumbnail slider

Posted on 2013-02-05
7
340 Views
Last Modified: 2013-02-07
I have a site here http://www.kitchensofdenver.com/ and want to remove the extra spacing above the thumbnail slider so it's the space between the thumbnail slider and large slider.  What do I adjust in the css to achieve that?
0
Comment
Question by:COwebmaster
7 Comments
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 38856717
You should probably start by fixing the 23 errors in the validator.  Then count the line feeds being stuck between the two elementw what what appear to be unnecessary divs.

If it is still not close enough then you try a negative top margin on the thumb slider. That is a hack I don't care for but at least it is valid.

I took me all of 15 seconds to put the page through the validator and discover the errors; but when you are busy I guess time is money, and maybe it is better to not know there are errors just itching to jump up and bite you..

Cd&
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 38856722
This is going to be a little ugly.  The slider you are using has a min-height set on #hr and it's padding for extra space for navigation buttons at the bottom (I assume).  By changing the min-height you should be able to wipe out the whitespace but you would also need to find the CSS and HTML for the container used to hold the buttons and get rid of it.  Otherwise, simply changing the min-height will push the thumbnails off to one side as the containers collide.

Any chance of switching to a different slider that degrades a bit better when options are disabled or are we going to have to do it the hard way?
0
 

Author Comment

by:COwebmaster
ID: 38856748
thanks Cd, I'll look into that soon enough.

Jason1178, yes the hard way ;)
0
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.

 

Author Comment

by:COwebmaster
ID: 38857948
Any ideas?
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 38857984
Doing it the hard way means I have to carve out the time to do it.  We're away from general knowledge which can easily be typed out and into development.  Test/retest/fail/rinse/repeat.
0
 
LVL 6

Accepted Solution

by:
nickinthooz earned 500 total points
ID: 38858171
body#home-featured #hr { min-height: 385px; }	

Open in new window


experiment with that

You could also replace <div id="hr"> with <div style="height:385px;'> in your html
0
 

Author Closing Comment

by:COwebmaster
ID: 38864657
That worked, thanks!
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

SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
The purpose of this video is to demonstrate how to integrate Mailchimp with WordPress, by placing a Mailchimp signup form on a WordPress Page or Post. This will be demonstrated using a Windows 8 PC. Mailchimp will be used. Log into your Mailchi…
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…

911 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

20 Experts available now in Live!

Get 1:1 Help Now