This post was helpful
https://kriesi.at/support/topic/changing-the-sidebar-width-and-keeping-it-responsive/
and I can apply the changes to functions.php in the main theme and see the changes take effect.
However I am working with a child theme. and with the following in the child themes’s functions.php file, I’m not able to get this to work.
<?php
/*
* Add your own functions here. You can also copy some of the theme functions into this file.
* WordPress will use those functions instead of the original functions then.
*/
$avia_config['layout']['sidebar_left'] = array('content' => 'ten', 'sidebar' => 'two alpha' ,'meta' => 'two alpha', 'entry' => 'nine');
Hi LenfertDesign!
Thank you for using Enfold.
Please use this on the child theme’s functions.php to decrease the width of the sidebar:
function avia_decrease_sidebar_size() {
global $avia_config;
$avia_config['layout']['fullsize'] = array('content' => 'twelve alpha', 'sidebar' => 'hidden', 'meta' => 'two alpha', 'entry' => 'eleven');
$avia_config['layout']['sidebar_left'] = array('content' => 'ten', 'sidebar' => 'two alpha' ,'meta' => 'one alpha', 'entry' => 'nine');
$avia_config['layout']['sidebar_right'] = array('content' => 'ten alpha', 'sidebar' => 'two alpha', 'meta' => 'one alpha', 'entry' => 'nine alpha');
}
add_action( 'init', 'avia_decrease_sidebar_size', 1);
Best regards,
Ismael
Worked great. Thank you!