A Faster and shorter Solution:
The fastest dirty solution to resolve this would be to apply a position:absolute;
( read about positions ), footer
. However I am not 100% sure that it will solve the problem because it will depend on several aspects, such as styles applied to elements prior to this element, etc.
It will also be necessary to apply a margin-bottom
to body
or the wrapper / container element that 'holds' all content, depending on the size of the footer
to prevent body content is superimposed by footer
.
In other words - The% of content of the body of the site should be equal or greater to size margem-bottom
of height
footer {
width: 100%;
margin: 0 auto;
font-family:Gabriola;
font-size:25px;
color:rgba(255,255,255,1);
background: rgba(73,155,234,1);
background-size:cover;
box-shadow: 0px 0px 0px 4px rgba(53,135,214,1);
position:absolute; /* Adicionada a propriedade 'position absolute' */
}
However this may not be the best way (actually it is not) or the most appropriate one to fix it, as it may overlap with other elements and cause a poor user experience if not applied properly.
So the best way is to get the entire footer
element and change it, or move it out of the container / wrapper that holds all content. I created here a brief example of what is happening and what you can do to solve it.
Examples:
- This is an idea of how it should be found at the moment - link
- This is an example of how it will look if you move it out of the wrapper / container - link
- And this is an example of the first method I mentioned to you first, using only the
footer
property - link