admin管理员组文章数量:1336659
I've recently created my first Homepage (garageeden.at) with Wordpress using Elementor, and have a small issue with the footer (created with the header footer plugin for elementor). Currently it just follows after the content, so on pages with little content it sits in the middle of the page, with blank space under it. I saw the suggestion of just adding
.site-footer{
position: fixed;
bottom: 0;
left: 0;
right: 0;
}
but if i do that using the custom css plugin it doesn't change anything
I've recently created my first Homepage (garageeden.at) with Wordpress using Elementor, and have a small issue with the footer (created with the header footer plugin for elementor). Currently it just follows after the content, so on pages with little content it sits in the middle of the page, with blank space under it. I saw the suggestion of just adding
.site-footer{
position: fixed;
bottom: 0;
left: 0;
right: 0;
}
but if i do that using the custom css plugin it doesn't change anything
Share Improve this question asked Jul 7, 2019 at 15:08 fleischhauerfleischhauer 11 silver badge1 bronze badge 1- please contact the developer of your theme or plugin with your question. theme and plugin related question are nolt covered in this forum. – Michael Commented Jul 7, 2019 at 15:40
1 Answer
Reset to default 1The problem you have with your CSS is that you are using .site-footer, but there is not such a class on your website, you should use #colophon instead.
#colophon {
position: fixed;
bottom: 0;
left: 0;
right: 0;
}
Check how the white space you mentioned goes on top of the footer.
本文标签: How to fix the footer to the bottom of the screen
版权声明:本文标题:How to fix the footer to the bottom of the screen 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742419153a2471307.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论