Hey @saadfakhan
I followed that tutorial on the video you shared above, but still couldn’t get the sidebar to align at the right side or the left side. Even when I ended up making the sidebar to move, it still remain under the main contents, but shifted to the beneath right side.
This issue is only affecting property and property archive pages, agents and agency pages. What I managed to do was to comment out // do_action(‘ere_sidebar_property’);
Looking at the template that displays single properties, it seems like the author intentionally placed the sidebar right after the main content as you can see bellow…
<?php
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
get_header('ere');
/**
* ere_before_main_content hook.
*
* @hooked ere_output_content_wrapper_start - 10 (outputs opening divs for the content)
*/
do_action( 'ere_before_main_content' );
do_action('ere_single_property_before_main_content');
if (have_posts()):
while (have_posts()): the_post(); ?>
<?php ere_get_template_part('content', 'single-property'); ?>
<?php endwhile;
endif;
do_action('ere_single_property_after_main_content');
<em>/**
* <strong>ere_after_main_content hook.</strong>
*
* @hooked ere_output_content_wrapper_end - 10 (outputs closing divs for the content)
*/
do_action( 'ere_after_main_content' );
/**
* ere_sidebar_property hook.
*
* @hooked ere_sidebar_property - 10
*/
<strong>do_action('ere_sidebar_property');</strong>
get_footer('ere');</em>