Jump to content
Sign in to follow this  
Jason M

Changing Contentbox Height

Recommended Posts

Jason M

http://leanfrontiers3.jasonmcvay.com/home5/

 

I have a contentbox above a box section and the space between the two is huge.  When I use Safari's web inspector I found this: section#contentbox.container.no_clone.section-contentbox.fix 1460px x 259px.

 

The content inside the contentbox has 6 images in a row that are 160px x 160px and there is nothing else in the content box.

 

Why is the content box so large if it contains much less content?  Is this a fixed height?  I cannot figure out the CSS to change the height, but if it's possible I could use some help.

Share this post


Link to post
Share on other sites
James B

Hi there, looking in firebug it seems as if there are three pieces of code needed to be edited in order to get that space to be removed. I'm not sure how safari dev tools inspector works but if you also have firefox i'd advise firebug as that's really easy to locate the required code.

 

.section-contentbox .hentry {
    clear: both;
    margin: 0;
}
.section-contentbox .hentry .hentry-pad {
    padding: 0;
}
.section-contentbox .content .content-pad {
    padding: 15px;
}


Kindly search the forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

James B

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×