Last active
August 29, 2015 14:07
-
-
Save DavidCramer/d849d8bd53fd46e10e7f to your computer and use it in GitHub Desktop.
Caldera Forms default Grid Settings
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Default grid render settings | |
$grid_settings = array( | |
"first" => 'first_row', // Classname for first row | |
"last" => 'last_row', // Classname for last row | |
"single" => 'single', // Classname for single row (grid with only 1 row) | |
"column_first" => 'first_col', // Classname for first column | |
"column_last" => 'last_col', // Classname for last column | |
"column_single" => 'single', // Classname for single column (grid row with a single column) | |
"before" => '<div %1$s class="row %2$s">', // html to start a row | |
"after" => '</div>', // html to end a row | |
"column_before" => '<div %1$s class="col-'.$gridsize.'-%2$d %3$s">',// html to start column | |
"column_after" => '</div>',//html to end column | |
"column_spans" => array(), // indexed classnames to convert column sizes. if black use numeric span. | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment