1) it worked partially
https://prnt.sc/1ux0ugo
I want the middle to be wider and take more space
like this
https://prnt.sc/1us7w4c
https://prnt.sc/1us80mg
I went to the Theme editor and select (footer.php)
and edited the original code
<?php if ( ! defined('ABSPATH')) exit('No direct script access allowed');
/**
* The template for displaying theme footer
*
* @since 6.2.12
* @version 1.0.0
*/
$custom_footer = etheme_get_query_custom_field('custom_footer');
$fcolor = etheme_get_option('footer_color', 'dark');
?>
<?php if($custom_footer != 'without' && ( ! empty( $custom_footer ) || is_active_sidebar('footer-1') || is_active_sidebar('footer-2') || is_active_sidebar('footer-3') || is_active_sidebar('footer-4') )): ?>
<footer class="footer text-color-<?php echo esc_attr($fcolor); ?>">
<div class="container">
<?php if(empty($custom_footer)): ?>
<div class="row">
<?php
$footer_columns = (int) etheme_get_option('footer_columns', 4);
if( $footer_columns < 1 || $footer_columns > 4) $footer_columns = 4;
$footer_widget_class = etheme_get_footer_widget_class($footer_columns);
for($_i=1; $_i<=$footer_columns; $_i++) {
echo '<div class="footer-widgets ' . $footer_widget_class .'">';
if(is_active_sidebar('footer-'.$_i)) dynamic_sidebar( 'footer-'.$_i );
echo '</div>';
}
?>
</div>
<?php else: ?>
<?php etheme_static_block($custom_footer, true); ?>
<?php endif; ?>
</div>
</footer>
<?php endif; ?>
and I changed it to this
<?php if ( ! defined('ABSPATH')) exit('No direct script access allowed');
/**
* The template for displaying theme footer
*
* @since 6.2.12
* @version 1.0.0
*/
$custom_footer = etheme_get_query_custom_field('custom_footer');
$fcolor = etheme_get_option('footer_color', 'dark');
?>
<?php if($custom_footer != 'without' && ( ! empty( $custom_footer ) || is_active_sidebar('footer-1') || is_active_sidebar('footer-2') || is_active_sidebar('footer-3') )): ?>
<footer class="footer text-color-<?php echo esc_attr($fcolor); ?>">
<div class="container">
<?php if(empty($custom_footer)): ?>
<div class="row">
<?php
$footer_columns = (int) etheme_get_option('footer_columns', 3);
if( $footer_columns < 1 || $footer_columns > 3) $footer_columns = 3;
$footer_widget_class = etheme_get_footer_widget_class($footer_columns);
for($_i=1; $_i<=$footer_columns; $_i++) {
echo '<div class="footer-widgets ' . $footer_widget_class .'">';
if(is_active_sidebar('footer-'.$_i)) dynamic_sidebar( 'footer-'.$_i );
echo '</div>';
}
?>
</div>
<?php else: ?>
<?php etheme_static_block($custom_footer, true); ?>
<?php endif; ?>
</div>
</footer>
<?php endif; ?>
it works and removes the 4th column, but I want to know if it is right to do that