fixes #93 - 1140 grid fixes: wrapping the row's with container's and

setting a better default container class
This commit is contained in:
Ben Word
2011-08-10 20:49:06 -06:00
parent 6479e66f38
commit 43c21a52b5
2 changed files with 7 additions and 7 deletions

View File

@@ -136,7 +136,7 @@ function roots_1140_header_before() {
global $roots_options;
$roots_css_framework = $roots_options['css_framework'];
if ($roots_css_framework === '1140') {
echo '<div class="row">', "\n";
echo '<div class="container"><div class="row">', "\n";
}
}
@@ -144,8 +144,8 @@ function roots_1140_header_after() {
global $roots_options;
$roots_css_framework = $roots_options['css_framework'];
if ($roots_css_framework === '1140') {
echo "</div><!-- /.row -->\n";
echo '<div class="row">', "\n";
echo "</div></div><!-- /.row /.container -->\n";
echo '<div class="container"><div class="row">', "\n";
}
}
@@ -153,8 +153,8 @@ function roots_1140_footer_before() {
global $roots_options;
$roots_css_framework = $roots_options['css_framework'];
if ($roots_css_framework === '1140') {
echo "</div><!-- /.row -->\n";
echo '<div class="row">', "\n";
echo "</div></div><!-- /.row /.container -->\n";
echo '<div class="container"><div class="row">', "\n";
}
}
@@ -162,7 +162,7 @@ function roots_1140_footer_after() {
global $roots_options;
$roots_css_framework = $roots_options['css_framework'];
if ($roots_css_framework === '1140') {
echo "</div><!-- /.row -->\n";
echo "</div></div><!-- /.row /.container -->\n";
}
}

View File

@@ -94,7 +94,7 @@ $roots_css_frameworks = array(
'name' => '1140',
'label' => __('1140', 'roots'),
'classes' => array(
'container' => 'container',
'container' => 'twelvecol',
'main' => 'sevencol',
'sidebar' => 'fourcol last'
)