Snippet: Add More Column Choices To Grid Modules
// This function will add the column selections you will then have to add your custom CSS
// for the actual column. Example '.span_1_of_8{ width: 12.5%; }'
add_filter( 'wpex_grid_columns', function( $columns ) {
$columns['8'] = '8';
$columns['9'] = '9';
$columns['10'] = '10'; // add as many as you want
return $columns;
} );
All PHP snippets should be added via child theme's functions.php file or via a plugin.
We recommend Code Snippets (100% Free) or WPCode (sponsored)
We recommend Code Snippets (100% Free) or WPCode (sponsored)