This topic has 2 replies, 2 voices, and was last updated 5 years, 6 months ago ago by Olga Barlow
Where do I set the sidebar default width, I don’t want to keep changing it in each page, just need to change it as default
Hello,
Unfortunately, there is no global option. You can change it by additional customization.
1) Find function etheme_page_config (xstore/framework/sidebars.php) and add the following code as mentioned on the screenshot
$layout = apply_filters('etheme_page_config', $layout);
2) Add the following code to child theme functions.php
add_filter('etheme_page_config', 'custom_etheme_page_config', 20, 1);
function custom_etheme_page_config($layout) {
$layout['sidebar-size'] = 8;
$layout['content-size'] = 4;
return $layout;
}
Screenshot https://prnt.sc/nvyfu6
Regards
You must be logged in to reply to this topic.Log in/Sign up