Whitespace under footer
-
In a strange way i got whitespace under my footer, it used to be right (copyright nonsticky) at the bottom, but at once there is a whitespace inbetween. It looks like an extra white line?????
I am told that this is a plugin issue that adds extra script lines in the footer, but i turned the plugins off step-by-step, but with no result.
Who can help me, the site is located at http://www.soccerselect.nl
-
I found out that i can set a negative bottom margin, or example
{margin-bottom:-75px;}
But i don’t think that’s the right way, on mobile device and tablet i guess that doesn’t work.
I really need to move the extra line at http://www.soccerselect.nl. Please shoot
There is a div outside of your body tag that is causing this white space. It’s called ‘Add This’. Possibly a plugin you have installed?
Adding the following to your style sheet removes the white space, but if you don’t have that plugin installed then there might be some malicious code on your site which you will want to remedy asap.
#_atssh { display:none; }Hey there DaveHabets,
Hope you’re well today!
The CSS code doesn’t work because there is a CSS that is being applied on smaller resolutions. You should be able to overwrite it with some custom CSS. Try adding the following CSS code in the style.css file of your child theme or add it in your site using the following plugin.
http://wordpress.org/plugins/simple-custom-css
@media only screen and (max-width: 767px) { #copyright { margin-bottom: -25px !important; } }This should remove the white line on smaller resolutions as well. Normally I wouldn’t suggest the use of the !important declaration. However, it can sometimes be a necessary evil when overwriting existing styles.
Hope this helps.
Best regards,
Bojan
The topic ‘Whitespace under footer’ is closed to new replies.