Twenty Eleven Sidebar all of a sudden at bottom
-
Hi,
I know there are a lot of posts on this topic but the usual answer is an analysis of code and problems with <div> tags and things like that. I’m hoping to resolve this with a change to a wordpress setting as I dont know much about the code.My site was working correctly and now all of a sudden the right sidebar shows up at the bottom, below the comment reply box. Because this happened all of a sudden and was working correctly for almost a year that leads me to believe this is because of a plugin update or a wordpress update?
http://grilling24x7.com/grilled-cheese-on-a-grill/
Any ideas on how I can get the sidebar on posts to show up at the bottom? Any help is appreciated.
Thanks,
John
-
That’s because your content area is set to 100% of width and there’s no space for sidebar to accommodate.
First install this Plugin and then in the “Custom CSS textarea” add this CSS code –
.single #primary {width:60%;}
This is a known issue with the Twenty Eleven theme in WordPress 4.5.
A workaround had been created for this.
If you do try the wordaround, I would recommend using a child theme and adding the following code to its
functions.php
file:function wp36510_remove_singular_class( $classes ) { $index = array_search( 'singular', $classes ); if ( false !== $index ) { unset( $classes[ $index ] ); } return $classes; } add_filter( 'body_class', 'wp36510_remove_singular_class' );
A fix has been created in the core WordPress files and it will ship with version 4.5.1, which is scheduled for Tuesday.
Great suggestions. Thank you all. I will wait and see what this 4.5.1 update is all about and if it doesn’t work then I’ll add the actual code.
My site did work just a few weeks ago now something changed and the sidebar dropped. That something seems to be within wordpress b/c I didn’t change any code that has anything to do with %.
Thanks again.
John
So I sat back and waited and I did nothing and the new wordpress update fixed it. Crazy.
Thanks for the comments.
John
- The topic ‘Twenty Eleven Sidebar all of a sudden at bottom’ is closed to new replies.