• 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 to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author g5theme

    (@g5theme)

    Hi, there are 2 ways:
    1. Override template: wrapper-start.php and wrapper-end.php
    https://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: https://prntscr.com/gu7njo
    2. Custom css:
    – To show sidebar: Please custom css like this picture: https://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 7 years, 5 months ago by g5theme.
    • This reply was modified 7 years, 5 months ago by g5theme.

    Hi, there are 2 ways:
    1. Override template: wrapper-start.php and wrapper-end.php
    https://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: https://prntscr.com/gu7njo
    2. Custom css:
    – To show sidebar: Please custom css like this picture: https://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

    (@twinriversnet)

    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.