sidebar pushed below content
-
afternoon,
I know there are posts on this matter but mine seems to be different. if you happen to read this and know of a resolved post please do add the link!
i have created a second sidebar (sidebar-blogs.php) for the blog and single posts.
the posts on the index page as well as individual/single post pages will push the sidebar below the content to the very bottom of the page. url: http://phoogoo.com/phoo-u/email/stop-spam/when i remove the secondary sidebar replacing it with the original theme sidebar this issue is resolved url: http://phoogoo.com/blogs/phoogoo-u/
could this be an error within the blog.css http://pastebin.com/75bjMC5n
any other thoughts? here’s the secondary sidebar php http://pastebin.com/1YgzMvmy
-
the sidebar is in the normal position in the linked single post.
there is no element with the CSS class
.blog-sidebarin the first linked single post.there is alo no CSS class
.blog-sidebarin your stylesheet.what is the full code of the normal sidebar.php?
please post a link to a post where the problem is evident.
thanks michael, here’s the sidebar pushed below the content: http://phoogoo.com/blogs/phoogoo-u/
normal sidebar php: http://pastebin.com/wE9bv441blog.css
http://pastebin.com/PH9V2EQythe latest link uses a page template to show the posts.
do both templates (the single.php and the page template) have exactly the same html structure apart from the different sidebar call?
I don’t think the differences and the problem come from the sidebar.
also, there seems to be some javascript involved as well, which adds for example a
.two-colCSS class to the section.main element in the single post…what theme is your site based on?
Hi,
You need to clear the floats after the sidebar. So after </aside> add this:
<br class="clear">Also, the section with the class “main” needs to have the class “two-col” as well.
page template: http://pastebin.com/aXuud0D7
i don’t think the code structure is exactly the same.
i agree i think there is an error elsewhere but this is a handmade theme and i’m outside of my knowledge base as to where to look.Can you also show the code of header.php and sidebar-blogs.php?
sidebar-blogs: http://pastebin.com/7sGKHHdn
header: http://pastebin.com/EPtDt7CB
The topic ‘sidebar pushed below content’ is closed to new replies.