Blog/posts page with 4 columns

Hello,

is it possible to have the blog/posts page display 4 columns (similar to the Portfolio page, which we currently have set to 4 columns)? It seem to default to 3, whereas in the Portfolio page is configurable.

We are using the Integrity stack

Thank you.

Hi There,

You have to setup a child theme first: https://theme.co/apex/forum/t/setup-how-to-setup-child-themes/57.

After that adding this custom code under functions.php file locates in your child theme:

add_filter( 'x_option_x_blog_masonry_columns', 'x_blog_columns', 999 );
add_filter( 'x_option_x_archive_masonry_columns', 'x_blog_columns', 999 );
function x_blog_columns(){
	return 4;
}

Hope it helps :slight_smile:

2 Likes

Thanks, it worked :slight_smile:

Hi @procos,

Happy to hear that.

Feel free to ask us again.

Thanks.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.