PHP footer problems…
-
Hello…
I’m here as the last resort–I’ve tried searching this up more than once and I’ve already tried the “sticky footer” by Ryan and nopes, it didn’t work. I can’t seem to get the footer to move below the content rather than the first two posts.
Either that or the sidebar, though I’m inclined to think that the footer is set to be placed beneath the second post–though I can’t figure out why.
In the original CSS (HTML only) the footer doesn’t seem to have a problem staying down–it’s only when I move it into php file that this problem occurs…
my site can be seen here: http://www.deafchange.com/dh5
Any help would seriously be appreciated!
-
look at this
you have an unclosed<body>and<html>tags
fix thatHeyy,
Thank you for your response! I was starting to get worried…Then I saw your comment..Laughed of course, I knew it’d be a simple thing like that…
Unfortunately, the footer will not budge. The validator reduced my errors to five–thus effectively canceling out all errors within the template (the other errors comes from the posts itself)..
Yet, the validator says I put in the </body> and </html> wrong. Uhm. Could you elaborate on where to put the closing tags?
Again, thank you for your response.
-Ben
uhmm…anyone?
look in your theme’s footer.php
what is messed up?I can’t tell. This is my whole footer.php file:
<div id=”footer” class=”clear”>
<div class=”line”>
<hr /></div><p>All photographs and designs in Ganja Simple White is copyrighted by Benjamin Vess and this site is powered by WordPress.</p>
</div>
</div>
</div></body>
</html>maybe too many </divs> ?
put the original footer.php back
save a copy
make changes one by oneI can’t tell about the div’s
what do you mean? put the original back?
I made that one from scratch with Wordpad, adding all the stuff I need from the codex thingy and the default theme. Same thing happens if I copy and paste the default theme’s footer.
Do you need my CSS sheet or were you able to pull it out of my source file?
Again, thank you for all your help–you have no idea how much I appreciate it!
-Ben
I would like to announce that I’ve solved it!!
Too many </div> before the footer. Now that all of it’s moved below the footer id, it works!
Again, thank you for your help!! Now it’s onward to the other pages of my theme!
-Ben
The topic ‘PHP footer problems…’ is closed to new replies.