Sidebar drops underneath page content
-
After upgrading to WP 4.5 my sidebars all drop underneath the page content.
Updating Twenty Eleven to V 2.4 does not help.
What can I do to have my sidebars back to the right of the page content?
-
I’m having this same issue. Eager to see if someone has a solution, or if an update to Twenty Eleven might be forthcoming to fix this.
http://www.stplacid.org/Having the same issue, too, on this site:
http://www.hob-israel.com/Here the same issue (WP4.5 with 2011v2.4) on the subpages like http://www.depedaalridders.nl/?page_id=5498, the homepage http://www.depedaalridders.nl is OK
Having the same problem with twenty eleven after upgrading to WP 4.5
http://www.dsg-systems.nl
I hope someone has a solution.I’m also having this problem.
As with dpl, above, it only affects individual posts, not if viewed in the Home page.
http://janiceheppenstall.com/blog/Example of issue with post:
http://janiceheppenstall.com/blog/2016/04/12/mixed-media-comfort/Thank you – anyone – who can offer a solution.
Yup, me too. Something in the twentyeleven theme’s “Sidebar Template” design was messed up in the upgrade to 4.5. I can use both v2.3 of the theme and v2.4 of the theme and see the same problem. No solution yet, but this makes it pretty clear the damage was done by something new in WP itself, not by a change to the theme.
This appears to be a consequence of WP 4.5 adding the
singularclass to thebodyfor itself. TwentyEleven assumes that it can prevent thesingularclass from being present on certain page templates, but this is no longer the case. For now this can be fixed by using a child theme of TwentyEleven and adding this to your child theme’sfunctions.phpfile:function twentyeleven_body_classes_fix( $classes ) { if ( is_home() || is_page_template( 'showcase.php' ) || is_page_template( 'sidebar-page.php' ) ) { $index = array_search('singular', $classes); if ( $index !== false ) unset($classes[$index]); } return $classes; } add_filter( 'body_class', 'twentyeleven_body_classes_fix' );See ticket #36510 for more information.
Thanks Eric
That solved the problem in my child theme!Thanks Eric for providing this solution. I was puzzling over this for over an hour!
Thanks Eric
I had to add
is_singular()to the second line though to make it work in my child theme:if ( is_singular() || is_home() || is_page_template( 'showcase.php' ) || is_page_template( 'sidebar-page.php' ) ) {Thanks for the solution!
There is also an open ticket regarding this issue: https://core.trac.ww.wp.xz.cn/ticket/36510
I too had this issue on a client’s site. Thank you so much, Eric and Marc! Your combined solution fixed the site!
With great appreciation,
Christinathis helped me too (marcs addendum to erics solution) – THANK YOU!
http://www.jmsphoto.de/blogAlso had the issue. Thanks for the temporary fix. I hope it is fixed in next version.
I was having this problem too. For some reason I was able to fix it by deactivating twenty eleven theme extensions, installing simple page sidebars. Activating. Going to pages edit, installing sidebar on all pages. THEN…. deactivating and deleting the simple page sidebars, then reactivating my twenty eleven theme extensions and it magically fixed itself!!!
I have no idea how or why though.
The topic ‘Sidebar drops underneath page content’ is closed to new replies.
