How to remove the white space under my footer in WordPress?
-
I have basic coding experience. In my WordPress install, some of my pages have a blank white space under the footer that I would like to remove. I have tried several solutions but to no avail. The problem is persistent on chrome, Firefox, IE etc.
I’m not really sure of the cause, but the size of the white space changes depending on computer/browser/resolution.
As I am working in WordPress I have access to custom CSS and source theme files, however, I would prefer to solve this problem with custom CSS.
I would like a footer that sticks to the bottom of the browser window with no whitespace below it.
Q. Please provide me with code/a solution that will remove this white space below the footer.
You can find an example of the white space on my [website here][1].
Solutions i’ve tried:
1.
#footer {overflow: hidden;}
didn’t work2. Putting
html, body, parentDiv, childDiv, section, footer { height : 100%; }
in my css but that didn’t work3.
#copyright { padding-bottom: 20px;}
“#copyright” is under the footer so this did reduce the whitespace to a point where it seemed it weren’t present, but on taller browser windows the white space reappeared.
- The topic ‘How to remove the white space under my footer in WordPress?’ is closed to new replies.