TomAllinder
Member
Posted 2 years ago #
At http://www.proactivenewsroom.com the footer is below the last item in the right sidebar. I have gone through all the posts (usually this problem is caused by a post) and looked for bad code. Also looked in code to see that </div> is closed before getfooter... Still can't figure it out.
Have you tried using "clear:both;" in your .footer{} CSS element, such as:
.footer {
clear: both;
...
}
TomAllinder
Member
Posted 2 years ago #
cais... thanks for the reponse. This is the .footer you are speaking of? (in style.css)- fwiw I am getting same result on Firefox and IE8
.Footer
{
position:relative;
z-index:0;
overflow:hidden;
width: 1040px;
margin: 5px auto 0px auto;
}
TomAllinder
Member
Posted 2 years ago #
I just upgraded to WP 2.8.2, I also installed the HubSpot website grader badge... The site is 2 months old and scored 87 and trending up. I was so proud of my work and wanted to display the badge. IT doesn't work with WP now for whatever reason.
Footers and sidebars getting misplaced is usually widget or bad code within posts has been my experience.
Yes, in that footer element ...
.Footer
{
clear: both;
position:relative;
/* z-index: 0; */
overflow:hidden;
width: 1040px;
margin: 5px auto 0px auto;
}
... and you are also correct in suspecting "bad code" as well.
Try also with the z-index commented out as in the sample above.