Title: Update problem with layout
Last modified: October 6, 2017

---

# Update problem with layout

 *  [TwinRiversNet](https://wordpress.org/support/users/twinriversnet/)
 * (@twinriversnet)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/update-problem-with-layout/)
 * I use a sidebar on most of the pages on my site… but because i use Genesis… I
   can remove the use of it on certain pages.. but the ERE property pages don’t 
   have an option for me to change that… It’s my fault for not backing up before
   I upgraded… but now I am seeing a sidebar at the bottom of the property pages…
   and that wasn’t there before.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fupdate-problem-with-layout%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [g5theme](https://wordpress.org/support/users/g5theme/)
 * (@g5theme)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/update-problem-with-layout/#post-9564219)
 * Hi, there are 2 ways:
    1. Override template: wrapper-start.php and wrapper-end.
   php [http://prntscr.com/gu7jw3](http://prntscr.com/gu7jw3) Your theme: <div class
   =”content-sidebar-wrap”><main class=”content”> * How to override: Copy: wp-content/
   plugins/essential-real-estate/public/templates/global/wrapper-start.php to wp-
   content/themes/yourtheme/ere-templates/global/wrapper-start.php With your theme
   need to change like this: [http://prntscr.com/gu7njo](http://prntscr.com/gu7njo)
   2. Custom css: – To show sidebar: Please custom css like this picture: [http://prntscr.com/gu7hr6](http://prntscr.com/gu7hr6)
 *     ```
       div#content {
           float: left;
           width: 67%;
       }
       ```
   
 * – To hide sidebar:
 *     ```
        .full-width-content aside.sidebar {
           display: none;
        }
       ```
   
 * 3. To remove sidebar:
    In functions.php of your child theme:
 *     ```
       if(!function_exists('g5plus_remove_action_hook'))
       {
       	function g5plus_remove_action_hook()
       	{
       		if (function_exists('ere_template_hooks')) {
       			remove_action('ere_sidebar_property', array($GLOBALS['ere_template_hooks'], 'sidebar_property'));
       			remove_action('ere_sidebar_agent', array($GLOBALS['ere_template_hooks'], 'sidebar_agent'));
       			remove_action('ere_sidebar_invoice', array($GLOBALS['ere_template_hooks'], 'sidebar_invoice'));
       		}
       	}
       }
       add_action( 'wp_head', 'g5plus_remove_action_hook' );
       ```
   
 * Please let me know the result,
    Thanks
    -  This reply was modified 8 years, 8 months ago by [g5theme](https://wordpress.org/support/users/g5theme/).
    -  This reply was modified 8 years, 8 months ago by [g5theme](https://wordpress.org/support/users/g5theme/).
 *  [trungpq](https://wordpress.org/support/users/trungpq/)
 * (@trungpq)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/update-problem-with-layout/#post-9564262)
 * Hi, there are 2 ways:
    1. Override template: wrapper-start.php and wrapper-end.
   php [http://prntscr.com/gu7jw3](http://prntscr.com/gu7jw3) Your theme: <div class
   =”content-sidebar-wrap”><main class=”content”> * How to override: Copy: wp-content/
   plugins/essential-real-estate/public/templates/global/wrapper-start.php to wp-
   content/themes/yourtheme/ere-templates/global/wrapper-start.php With your theme
   need to change like this: [http://prntscr.com/gu7njo](http://prntscr.com/gu7njo)
   2. Custom css: – To show sidebar: Please custom css like this picture: [http://prntscr.com/gu7hr6](http://prntscr.com/gu7hr6)
 * div#content {
    float: left; width: 67%; } – To hide sidebar:
 *  .full-width-content aside.sidebar {
    display: none; } 3. To remove sidebar: 
   In functions.php of your child theme:
 * if(!function_exists(‘g5plus_remove_action_hook’))
    { function g5plus_remove_action_hook(){
   if (function_exists(‘ere_template_hooks’)) { remove_action(‘ere_sidebar_property’,
   array($GLOBALS[‘ere_template_hooks’], ‘sidebar_property’)); remove_action(‘ere_sidebar_agent’,
   array($GLOBALS[‘ere_template_hooks’], ‘sidebar_agent’)); remove_action(‘ere_sidebar_invoice’,
   array($GLOBALS[‘ere_template_hooks’], ‘sidebar_invoice’)); } } } add_action( ‘
   wp_head’, ‘g5plus_remove_action_hook’ ); Please let me know the result, Thanks
 *  Thread Starter [TwinRiversNet](https://wordpress.org/support/users/twinriversnet/)
 * (@twinriversnet)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/update-problem-with-layout/#post-9565261)
 * I used
 *     ```
       .full-width-content aside.sidebar {
           display: none;
        }
       ```
   
 * and it worked perfectly! Thank you for your quick response!!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Update problem with layout’ is closed to new replies.

 * ![](https://ps.w.org/essential-real-estate/assets/icon-128x128.png?rev=1603267)
 * [Essential Real Estate](https://wordpress.org/plugins/essential-real-estate/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/essential-real-estate/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/essential-real-estate/)
 * [Active Topics](https://wordpress.org/support/plugin/essential-real-estate/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/essential-real-estate/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/essential-real-estate/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [TwinRiversNet](https://wordpress.org/support/users/twinriversnet/)
 * Last activity: [8 years, 8 months ago](https://wordpress.org/support/topic/update-problem-with-layout/#post-9565261)
 * Status: not resolved