Tue, 2015-12-15 12:27
Hello
here is my url
I want to have less black space at the bottom of my footer under the youtube video how can I reduce that?
SEO SNEL
Here is my code..
.video-container { position: relative; padding-bottom: 56.25%; padding-top: 30px; height: 0; overflow: hidden; } .video-container iframe, .video-container object, .video-container embed { position: absolute; top: 0; left: 0; width: 50%; height: 50%; }
Tue, 2015-12-15 21:43
#1
Edit these selectors as
Edit these selectors as below.
.video-container iframe, .video-container object, .video-container embed { width: 50%; /* Why? What compelling reason do you have? */ } .video-container { padding-top: 30px; }
Adjust bottom spacing with bottom padding here
.footer-distributed { background-color: #292c2f; box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.12); box-sizing: border-box; font: 16px sans-serif; margin-left: 2.5%; margin-right: 2.5%; margin-top: 80px; max-width: 95%; padding: 45px 50px; /* <<< even more space at the bottom */ text-align: left; }
Don't throw rules at stuff without compelling reason. Stay as plain as you can.
cheers,
gary