footer showing up in wrong place on two pages(others are fine) - html

My site's footer is showing up in the wrong place on my contact page and my blog page. All of the other pages have the footer styled correctly and in the right location. What could be causing this/what's the best way to remedy?

Add clear:both to #footer in your style sheet. That should do it.

Put a clear:both on your footer element:
#footer {
clear: both;
}
The blog and sidebar divs are floated. You need to clear out the floats on the footer for the footer to act "blocky".

Related

why is my site's footer stuck to the top of my page?

This is a Wordpresss site and I believe this is a theme issue that is causing the footer to stick to the top of the page.
I can't figure out a site-wide fix for the issue. I have used:
.l-footer {
position:absolute;
bottom:0;
}
and it just makes the footer disappear entirely.
Try position:relative, position:fixed, and display:block also. Once you have the right one, take a note on how they work and also see the changes that they made.
EDIT:
Try this:
.somefooter {
display:inline-block;
overflow: hidden;
}
Through I think one of them should do it, place them in your footer tag.

Footer position at bottom of page(CSS and HTML problems

Stacked Footer and Header
As the picture show the footer and the header are mixed together. I've tried to use
and just
But appears the exact same.
There're a few questions about positioning footer but their versions of CSS are really old so I couldn't fine the place to edit my Footer CSS.
It works if the body under header fill up almost whole page and let footer go after it, but if there's no contents at all, how do I fixed the footer to bottom of the page?
Thank you.
Use css to fix it to the bottom of a screen.
#footer {
position: fixed;
bottom: 0px;
}
<div id="footer"></div>
No need to change your footer. This is just an example as I don't know your actual code.
Some more examples:
<div style="position:fixed;bottom:0px;"></div>
<footer style="position:fixed;bottom:0px;"></footer>

WordPress footer styles loading to middle of page

On the front page of my site, the footer content is loading to the bottom of the page, where it should. But the styles are loading to the middle of the page. As you'll see, I called a red background on the footer, but it's appearing behind a widget well above the footer html. It's a WordPress site, and I'm pretty certain the calls to the footer (WP_footer and get_footer) are being executed correctly. I have a feeling that something else is disrupting the flow of the page, but I can't find it. The site is very early in development, and it's being done mobile-first, so it might look like a jumbled mess at views larger than phone. Here's the link:
-- link removed --
Thanks for taking a look!
PS. Working on a Mac mostly in Firefox.
give style
float:left
to your footer and it will be fixed.
Add a clearfix class to the footer, the floats are messing with it wrapping the content.
.clearfix:before,
.clearfix:after {
content: "";
display: table;
}
.clearfix:after {
clear: both;
}
<div id="footer" class="grid clearfix">
</div>
Because your widgets are floated left, the parent container doesn't expand to the content height. You can add the following class in your css: .grid {display:table; width:100%;}

Bootstrap 3 "fluid" footer

I am trying to create a footer with bootstrap 3. In the end it should look like on this site.
I have already tried this example but it is static and does not move with the site.
It is static because there is no content to push the footer down, there's no scrollbar. That footer on the bootstrap site should work fine. I added a height 3000px to their h1 and the footer moved with the site.
Unless I'm confused and you don't want a sticky footer in which case this should work fine
.footer {
width: 100%; /* or whatever */
float: left; /* to clear it */
}
or
.footer {
width: 100%;
clear: both; /* to clear it */
}
Also be sure to add .container inside your footer div, then add your content inside the .container div. You content should then move 'with the site'
Bootstrap 3 doesn't have a set way of adding a footer, so go crazy. The only custom footer I can see from them is the sticky footer
I think you are confusing what a sticky footer is. A sticky footer is a footer that stays at the bottom of the content even at the bottom of the page when you don't have enough content to fill the page. It keeps the site looking neat and consistent.
What you are looking for is the position attribute. Set up the following class in your CSS
.fixed-to-bottom{
position:absolute;
bottom:0px;
left:0px;
}
add this class to the element you want to always show at the bottom of the screen.
I hope this helps.

HTML footer problem

Is it possible to create a footer div that sits at the bottom of a site regardless of how much information is present in the middle?
Currently the div I have is positioned depending on how much content i have in the body.
See also:
How do you get the footer to stay at the bottom of a Web page?
I am by no means a css expert, but this works for me across the major browsers:
.d_footer
{
position:fixed;
bottom:0px;
background-color: #336699;
width:100%;
text-align:center;
padding-top:5px;
padding-bottom:5px;
color:#ffffff;
}
Float the content div and have the footer div use clear: both.
I know I marked this as being answered but I've run into another problem as a result. The footer sits nicely at the bottom of the page, however, if the content goes past the footer, the footer simply floats over the content.
Is there a way to keep the footer at the bottom of the page without it overlapping if the content goes past the bottom?
My gut feel is using an iframe but Im not sure how to do it.
JonathanMueller is right, that works perfectly.
I had been looking through posts trying to do it like this. All I could find was fixed to the bottom of the window.
Thanks!