Jump to content
Sign in to follow this  
mstmarie1

Increase Max Boxes per Row?

Recommended Posts

mstmarie1

Is it possible to get more than 5 boxes per row? I mean in dropdown on the admin side where you set up the configurations on a post/page basis. I wasn't sure if these were determined by precalculated equations up to 5, or if 5 was just a variable plugged into an equation.

Share this post


Link to post
Share on other sites
Rob

Hi,

 

I think Boxes are limited to 5 per row.  However, the WP Boxer plugin allows 6.

 

Another option would be the Grid System.  This allows you up to 12 columns. Check this link for code and guidance: http://demo.pagelines.me/tools/

 

I hope this helps.


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
mstmarie1

So here's what I did, and it was really simple. You guys have created a truly flexible framework. All I needed was 6 per row, so I copied the pagelines > sections > boxes folder to the pagelines-template-theme > sections folder. I opened up section.php and edited line 159 from

 

'count_number' => '5',
 

to

 

'count_number' => '6',
 

, published the folder (overriding the parent theme boxes section) and then my Boxes per Row selection was 1-6.

I was expecting something funky to happen, but you guys have set this framework up to be completely reactive. You've really done your homework.

Share this post


Link to post
Share on other sites
Danny

Thanks for the kind words.

 

I'm positive that if the Boxer plugin didn't meet your requirements, then Rob would have recommended creating a child Box section, like you did.

 

Nice job, working this out on your own!


Please search our forums, before posting!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×