Website Content going over footer - min-height css error?

I am reaching the end of my troubleshooting options so hopefully someone can help.

I've got quite a few bugs to work out with this site, but the most pressing right now is the content going over the Footer.  I've tried several options but still have not found a solution.  Any assistance is appreciated.

r3marriage.skyline.church
LVL 2
axessJoshAsked:
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.

David S.Commented:
The problem seems to be caused by the use of relative positioning without compensating for its side effects. Instead of giving "top: 160px;" to ".site-main", give it "padding-top: 160px;" instead. Relative positioning is when you set the position property to "relative" and set any of the top, left, bottom, or right properties to a (computed) value other than 0. What it does is shift where an element appears to be without actually moving it. In this case it shifted the main content down to overlap the footer.

After making that change, you'll need to increase the value for "top" applied to ".site-main .sidebar-container".

P.S. Your page is 1MB, mainly because you're using 3 images that are each 256 KB. Two of those images, the logo (which can be reduced from 3300x3092 to 396x372 or even 198x186) and carbon4.jpg, can be resized to a lot smaller. Then I recommend you run the PNGs through an optimizer tool. I use PNG Gauntlet (for Windows) myself but there are many to choose from: https://www.google.com/search?q=optimize+png

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
axessJoshAuthor Commented:
Thank you, Thank you, Thank you.

That worked exactly as I needed it to.

Also, I have updated the images as you suggested.  That was on my list of tasks to do as I had just taken things directly from the designer and put it into comps for them with plans to update later.

Again, thanks for your help.
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.