- This topic is empty.
-
AuthorPosts
-
August 1, 2012 at 4:00 pm #39168
cqburris
MemberHey guys,
I am having an issue in Firefox where a white space is appearing under my footer only on the homepage. I have tried everything under the sun (that I know of at least) to try and fix this, but no luck. After inspection, there are no divs whose height/margin is going below the footer. I have tried overflow: hidden on every container to see if I can get rid of it – still nothing. You can find the page here. Again, this is only happening in Firefox. Any insight would be much appreciated!
August 1, 2012 at 5:28 pm #107190Paulie_D
Memberjust curious…how big is the whitespace?
August 1, 2012 at 5:50 pm #107191TheDoc
MemberYou have a div before the body:
And then you’re closing the html before the div:
Switch it to:
and:
August 2, 2012 at 11:02 am #107215cqburris
Member@TheDoc thanks for the input. I swapped body and the container_12 in the header, however when I went into the footer to switch and I was surprised to find that there wasn’t a closing div there to be removed. Somewhere in the theme WordPress is adding an extra div, but I can’t identify where. Any insight?
August 2, 2012 at 11:10 am #107228August 2, 2012 at 3:33 pm #107235cqburris
Member@death180 it is not in index.php or footer.php – WordPress is automatically generating this div. What doesn’t make sense to me is that this div exists on the page template, single template, and every other template on the site, but there is no white space under the footer on those pages. Even if we do find the source of this mysterious div, I’m still not sure that’s going to be the solution…
@TheDoc any ideas?August 2, 2012 at 4:44 pm #107237TheDoc
MemberWhat does the footer.php look like?
August 3, 2012 at 5:15 am #107253Paulie_D
MemberI don’t know why it would make a difference but your linked js files near the bottom of the page seem to be inside your containing div (just after the closing footer tag).
Try moving them between the closing div tag and the closing body tag.
As I said, shouldn’t make any difference but who knows?
August 23, 2012 at 11:47 am #108349cqburris
Member@TheDoc –still having issues with this whitespace. I have spent hours trying to pinpoint what the problem is – no luck. Think you could take another look? Here is the footer:
August 23, 2012 at 2:09 pm #108360TheDoc
MemberIs that your rendered footer or footer.php?
August 23, 2012 at 3:14 pm #108371cqburris
Member@TheDoc rendered. here is footer.php
/**
* The template for displaying the footer.
*
* Contains the closing of the id=main div and all content
* after. Calls sidebar-footer.php for bottom widgets.
*
* @package WordPress
* @subpackage Boilerplate
* @since Boilerplate 1.0
*/
?>
August 28, 2012 at 9:34 am #108605August 28, 2012 at 10:04 am #108609Watson90
MemberShoud it not be
August 28, 2012 at 3:30 pm #108634cqburris
MemberYa, still not working..
August 28, 2012 at 4:30 pm #108642TheDoc
MemberYou have 48 opening divs but 49 closing divs. If you find the extra closing div it might solve itself.
-
AuthorPosts
- The forum ‘CSS’ is closed to new topics and replies.