Theme Author
Tom
(@edge22)
Hi there,
GeneratePress uses percentages for the content and sidebars.
The easiest way to adjust the width of the sidebars is using the Spacing addon.
Without it, you’ll need to use PHP functions to adjust some filters in GeneratePress.
Let me know if you’re comfortable with PHP functions and don’t want the spacing addon.
Thanks!
Just added the addon’s… THX
Hey, I’m trying to do this as well, and I would rather use the PHP to adjust the filters. I can’t seem to find where the classes grid-25, etc. are added.
Thanks
Theme Author
Tom
(@edge22)
Hi there,
You can adjust the sidebar widths with these functions:
add_filter( 'generate_right_sidebar_width','generate_custom_right_sidebar_width' );
function generate_custom_right_sidebar_width()
{
// 25 being 25% - increase or decrease by 5%
return '25';
}
add_filter( 'generate_left_sidebar_width','generate_custom_left_sidebar_width' );
function generate_custom_left_sidebar_width()
{
// 25 being 25% - increase or decrease by 5%
return '25';
}