Hi again,
I've found a solution (unless you have something better)
my solution :
1) IN FOOTER.PHP REPLACE
<div class="rh-flex-eq-height col_wrap_three">
<div class="footer_widget col_item">
<?php if ( is_active_sidebar( 'footerfirst' ) ) : ?>
<?php dynamic_sidebar( 'footerfirst' ); ?>
<?php else : ?>
<p><?php esc_html_e('No widgets added. You can disable footer widget area in theme options - footer options', 'rehub-theme'); ?></p>
<?php endif; ?>
</div>
<div class="footer_widget col_item">
<?php if ( is_active_sidebar( 'footersecond' ) ) : ?>
<?php dynamic_sidebar( 'footersecond' ); ?>
<?php endif; ?>
</div>
<div class="footer_widget col_item last">
<?php if ( is_active_sidebar( 'footerthird' ) ) : ?>
<?php dynamic_sidebar( 'footerthird' ); ?>
<?php endif; ?>
</div>
BY
<div class="rh-flex-eq-height col_wrap_fourth">
<div class="footer_widget col_item">
<?php if ( is_active_sidebar( 'footerfirst' ) ) : ?>
<?php dynamic_sidebar( 'footerfirst' ); ?>
<?php else : ?>
<p><?php esc_html_e('No widgets added. You can disable footer widget area in theme options - footer options', 'rehub-theme'); ?></p>
<?php endif; ?>
</div>
<div class="footer_widget col_item">
<?php if ( is_active_sidebar( 'footersecond' ) ) : ?>
<?php dynamic_sidebar( 'footersecond' ); ?>
<?php endif; ?>
</div>
<div class="footer_widget col_item">
<?php if ( is_active_sidebar( 'footerthird' ) ) : ?>
<?php dynamic_sidebar( 'footerthird' ); ?>
<?php endif; ?>
</div>
<div class="footer_widget col_item last">
<?php if ( is_active_sidebar( 'footerfourth' ) ) : ?>
<?php dynamic_sidebar( 'footerfourth' ); ?>
<?php endif; ?>
</div>
2) IN SIDEBAR_FUNCTIONS.PHP REPLACE
register_sidebar(array(
'id' => 'footerfirst',
'name' => esc_html__('Footer 1', 'rehub-theme'),
'before_widget' => '<div id="%1$s" class="widget %2$s">',
'after_widget' => '</div>',
'before_title' => '<div class="title">',
'after_title' => '</div>',
));
register_sidebar(array(
'id' => 'footersecond',
'name' => esc_html__('Footer 2', 'rehub-theme'),
'before_widget' => '<div id="%1$s" class="widget %2$s">',
'after_widget' => '</div>',
'before_title' => '<div class="title">',
'after_title' => '</div>',
));
register_sidebar(array(
'id' => 'footerthird',
'name' => esc_html__('Footer 3', 'rehub-theme'),
'before_widget' => '<div id="%1$s" class="widget last %2$s">',
'after_widget' => '</div>',
'before_title' => '<div class="title">',
'after_title' => '</div>',
BY
register_sidebar(array(
'id' => 'footerfirst',
'name' => esc_html__('Footer 1', 'rehub-theme'),
'before_widget' => '<div id="%1$s" class="widget %2$s">',
'after_widget' => '</div>',
'before_title' => '<div class="title">',
'after_title' => '</div>',
));
register_sidebar(array(
'id' => 'footersecond',
'name' => esc_html__('Footer 2', 'rehub-theme'),
'before_widget' => '<div id="%1$s" class="widget %2$s">',
'after_widget' => '</div>',
'before_title' => '<div class="title">',
'after_title' => '</div>',
));
register_sidebar(array(
'id' => 'footerthird',
'name' => esc_html__('Footer 3', 'rehub-theme'),
'before_widget' => '<div id="%1$s" class="widget %2$s">',
'after_widget' => '</div>',
'before_title' => '<div class="title">',
'after_title' => '</div>',
));
register_sidebar(array(
'id' => 'footerfourth',
'name' => esc_html__('Footer 4', 'rehub-theme'),
'before_widget' => '<div id="%1$s" class="widget last %2$s">',
'after_widget' => '</div>',
'before_title' => '<div class="title">',
'after_title' => '</div>',
Every time I open my website’s main page or home page, the comparison slide out happens for a section on the right.