Home › Forums › Support › Make sidebar more narrow › Reply To: Make sidebar more narrow
May 13, 2016 at 10:18 am
#194064
Tom
Lead Developer
Lead Developer
I agree with Roberto – that looks like a better solution.
However, you can decrease the sidebar width with something like this:
add_filter( 'generate_left_sidebar_width','generate_custom_left_sidebar_width' );
function generate_custom_left_sidebar_width()
{
return '10';
}
Adding PHP: https://generatepress.com/knowledgebase/adding-php-functions/
- This reply was modified 7 years, 11 months ago by Tom.