problems with footer
-
Hi all I have a normal footer and in my home page is fine. The problem is in the articles where I have 2 issues:
1) the footer is on the right and not at the bottom of my article (and page)
2) my sidebar is in the footer and I can’t figure out why
this is my home page(no issue here)
http://francescosoave.com/this is one article (issues here)
http://francescosoave.com/?p=61any hints?
thank you!
-
Hello balux,
Your home page does not have any issues because its a fullwidth page without sidebar but you other page has as it have sidebar.
To resolve this problem just update your css for footer as follows:
Cuttently your css for footer in style.css line 785 is
#footer {
padding: 0 0 50px;
}please change it like this
#footer {
clear: both;
padding: 0 0 50px;
}Hope this will resolve your problem.
works perfectly! thank you! 🙂
If you modified the theme’s style.css file, do be aware that your changes will be erased when you update the theme. A better way to make these kinds of changes is using a child theme or custom CSS plugin.
https://codex.ww.wp.xz.cn/Child_Themes
You can then ADD the CSS you want to change to the child theme or custom CSS section and change it there – it will override the existing CSS.
the sidebar looks ok; however, the footer is on the right below the sidebar, which seems to happen if the footer text is relatively short.
generally, the theme seems to have some formatting issues, like a horizontal scrollbar, …
to inform the theme’s developer, and for theme specific support, please post in https://ww.wp.xz.cn/support/theme/digest
thank you all..actually I still have a problem..the sidebar is at the bootm of the page but only with some articles..
this is a category page and it’s fine
http://francescosoave.com/?cat=22this is an article and it’s fine
http://francescosoave.com/?p=61this is an article and the sidebar is at the bottom
http://francescosoave.com/?p=115the only difference between the 2 articles seems that the one without issue has no text
thank you
Hello balux,
The problem is with your php Code. As far as i can think
http://francescosoave.com/?p=61This is a post and http://francescosoave.com/?p=115
This is a page. The problem is that for the php code in probably either
page.php or single.php your sidebar div is inside your content div. like this<div id="content"> ..... <div id = "sidebar"> .... </div> </div>Please correct it and remove sidebar from contrent div like this.
<div id="content"> ..... </div> <div id = "sidebar"> .... </div>After This your problem will be solved.
actually I don’t have the <div id=’sidebar’> but I have a function get_sidebar() that is called. The call was already outside of the <div id=’content’>. Also the issue is just with that article (they are all articles) qith long text..
solved thank you all 🙂
The topic ‘problems with footer’ is closed to new replies.