This is the page, the page sticky footer isn't working I want my sticky footer to work, all the codes are added correctly, despite that it isn't working. Can you please take a look and let me know what should I add or remove? Thank you.
It looks like you're trying to use http://ryanfait.com/html5-sticky-footer/ technique? If so - you need to add
height: 100%;
to your html element also
Related
I'm currently working on a website using Elementor. I tried integrating a Footer using a separate plugin (Elementor Footer&Header), however, the footer didn't stick to the bottom of the page if there was only little or no content.
As this seems to be a common issue, I solved the problem by adding the following code:
div.footer-width-fixer {
position: fixed;
bottom: 0;
}
Now, the footer sticks to the bottom of the page, however, there 2 other problems:
The footer overlaps with the content in the bottom of the page (see attached image)
The footer is sticky, although I didn't set it up to be so. I only want the footer to appear at the bottom of the page, not while the visitor is scrolling.
Any ideas how to solve this? Thank you!
Best Regards,
Maurice ( :
overlapping-footer
Its tough to tell if the footer is actually overlapping another sentence (I only speak english so I cant tell if the sentence ends or read it at all). But it looks like its only overlapping the padding on the button and its just snug to the text content.
You could try to add either
padding-top: {desired pixel amount}px;
or
margin-top: {desired pixel amount}px;
to the footer and see if that does the trick.
As for the position sticky, If your familiar with the inspect element feature in google chrome; you can see what the class selector is that is applying the sticky to the element and then you should be able to write a bit of css to overwrite that fairly easily!
I have had the same problem a few times but I simply fix this by setting the height of the section to either "fit to screen" or the VH to 100 - the header height (If you use a transparent header). I hope this has helped you and if you have any questions don't mind asking!
I want really ask for help here about this issue.
I have a Wordpress Webisite address: http://www.marcoborla.it
if you see on the right bar there are Google translate this cause to me to have white space created by Google at the footer.
If I remove google translate all is correct, footer end where footer is.
I need a CSS or a solution for remove the big white space hole after the footer.
Do you know how I can fix this issue?
Navigate into my website
Go to footer and you can see white space.
Screen:
https://s5.postimg.org/h9o8hjnxz/image.png
Thank you anyone will help me.
This is the CSS solution that works:
.goog-te-spinner-pos + div {
height: auto !important;
}
Thanks to an user that helped me on Wordpress Forum.
While inspecting your code, found the following code
<div style="position: absolute;z-index: -10000;top: 0px;left: 0px;right: 0px;/* height: 3955px; */"></div>
Here you have commented out the height but it seems like active on DOM. Removing the height solved your issue. Try to remove the height and fix the css issue.
Hope it helps.. :)
Made a Wordpress installation, styled a blog.
The Blog
The problem:
I have a fixed footer and a scrollable main page. No matter what I seem to do, there's always a space from like 10px between the footer and the main body.
I've inspected with Firebug, went through the CSS and the html. I gave the main div margin and padding and even a border-bottom.. but does not seem to help. It changes something, but the space still remains.
Of course, I could set the padding from the footer to bottom 10px, but then I would have unwanted space beneath the footer.
I can't really post any code here, since this is Wordpress and I honestly wouldn't know what code you could need, since I don't know where the problem is.
Thanks everyone in advance!
It's the margin bottom on element
<div id="page" class="hfeed site">
from this style:
body .site {
margin-bottom: 3.42857rem;
}
Removing this style gets rid of the space (and as far as I can see doesn't cause any other display issue with the site.
You can find these kind of issues by using the Developer Tools in your browser (the Firebug plugin for Firefox for example) and just right-clicking on the area with the issue and exploring and dynamically editing or disabling the styles that are applied to an element.
Well if you really want to remove the gap between the body and the footer, Just get the rid of height:40px that you've set in the footer CSS.
This is only i can do without code!
Hope this will help.
Here is the screen-shot
Just remove the height:40px rule from style.css (row 771)
on your style.css line 121 add this table { float: left; }
I'm writing a print stylesheet for my pages. each page has a footer. and the footer should stay at bottom of the printed page.. if it has 30pt white spaces before. (if there is 30pt spaces between main content and footer, footer should fix at bottom; else, it should go to next page)
because I'm using print stylesheet, I think I can't use JavaScript to check and fix it. (so please suggest a style solution)
Thanks.
You don't need JS, just CSS - I use the sticky footer solution here: http://www.cssstickyfooter.com
you doesn't specify your code, anywhere i think by using position property you can fix your footer.
.footer{
position: fixed;}
I've embedded a Facebook Comment box into my site (http://ponycountdown.com), but the div it is contained within doesn't expand to accommodate it. Does anyone know what causes this, and if there is a way around it?
To see the problem in action, click the comments tab on the left of that page.
An additional query - is it possible to reverse the order of comments so that the most recent is on top? I tried adding reverse="true", but it doesn't have any effect.
Change height of the div to min-height in CSS.
In other words, use min-height: 392px instead of height: 392px.
This way it will expand and not be of fixed height as it is now. Hope this helps.
I would suggest to add the following to the slide-out-div class:
overflow-y: auto;
overflow-x: hidden;
With some additional styling this will create a scrollbar when the facebook comments overflow downwards.