- This topic has 3 replies, 2 voices, and was last updated 8 years ago by Pratik.
-
AuthorPosts
-
April 16, 2016 at 4:56 am #89666JimtownerParticipant
Hello, I just upgraded to WP 4.5 and latest Catch Box. My pages have no sidebar set up (single column) but all of a sudden sidebar items including Sidebar Widget Area, Archives and Search are appearing below the main content area. If I switch to two column they move to the sidebar. However, I don’t want them at all and they were not there before the upgrades. There are no widgets set up in Widgets. How can I eliminate these sidebar items from the pages? The site is jvfd-ems.org.
Thanks.
April 16, 2016 at 12:00 pm #89691PratikKeymasterHi @Jimtowner,
We will fix this in next update. But for now, if you want it fixed quickly, you need to make a small bit of change. Just edit the theme’s sidebar.php file line 19 to following:
if ( $layout == 'no-sidebar-one-column' || $layout == 'no-sidebar' || is_page_template( 'page-disable-sidebar.php' ) || is_page_template( 'page-fullwidth.php' ) || is_page_template( 'page-onecolumn.php' ) ) :
OR
just replace your sidebar.php with this code: http://pastebin.com/khcEz1P3It should work. Let me know how it goes.
Regards,
PratikApril 16, 2016 at 8:08 pm #89713JimtownerParticipantPratik, I replaced sidebar.php and that fixed the problem. Thanks.
I also had another issue that I was able to resolve but I think you should know about it. After the update there were two header images, one on top of the other. I went into Customize/Header Image and removed the image so that it says No Image Set. It now displays a header image correctly.
When you issue the new update can I assume I will see the header image disappear until I reset it in Customize? Is there a better way for me to deal with this two header image problem while I’m waiting for the update?
April 19, 2016 at 9:07 am #89861PratikKeymasterHi @Jimtowner,
The Sidebar issue will go away with latest theme update.
The header image will stay disappeared with new update. Sorry for the inconvenience caused.
Regards,
Pratik -
AuthorPosts
- The topic ‘HELP–sidebar showing when it shouldn't’ is closed to new replies.