Forum Replies Created

Viewing 1 replies (of 1 total)
  • Hi, there are 2 ways:
    1. Override template: wrapper-start.php and wrapper-end.php
    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
    2. Custom css:
    – To show sidebar: Please custom css like this picture: 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

Viewing 1 replies (of 1 total)