adding support for the 1140px grid
This commit is contained in:
23
header.php
23
header.php
@@ -1,8 +1,8 @@
|
||||
<!doctype html>
|
||||
<!--[if lt IE 7 ]> <html class="no-js ie6" lang="en"> <![endif]-->
|
||||
<!--[if IE 7 ]> <html class="no-js ie7" lang="en"> <![endif]-->
|
||||
<!--[if IE 8 ]> <html class="no-js ie8" lang="en"> <![endif]-->
|
||||
<!--[if (gte IE 9)|!(IE)]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
|
||||
<!--[if lt IE 7]> <html class="no-js ie6" lang="en"> <![endif]-->
|
||||
<!--[if IE 7]> <html class="no-js ie7" lang="en"> <![endif]-->
|
||||
<!--[if IE 8]> <html class="no-js ie8" lang="en"> <![endif]-->
|
||||
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
|
||||
<meta name="viewport" content="width=device-width; initial-scale=1.0">
|
||||
|
||||
<?php echo get_roots_css_framework_stylesheets(); ?>
|
||||
<?php echo get_roots_stylesheets(); ?>
|
||||
|
||||
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> Feed" href="<?php site_url(); ?>/feed/">
|
||||
|
||||
@@ -19,7 +19,9 @@
|
||||
<script>window.jQuery || document.write("<script src='<?php echo get_stylesheet_directory_uri(); ?>/js/libs/jquery-1.5.2.min.js'>\x3C/script>")</script>
|
||||
|
||||
<?php wp_head(); ?>
|
||||
|
||||
<?php if (get_option('roots_css_framework') === '1140') { ?>
|
||||
<script src="<?php echo get_stylesheet_directory_uri(); ?>/js/css3-mediaqueries.js"></script>
|
||||
<?php } ?>
|
||||
<script src="<?php echo get_stylesheet_directory_uri(); ?>/js/scripts.js"></script>
|
||||
<?php if (get_option('roots_google_analytics') !== "") { ?>
|
||||
<script>
|
||||
@@ -32,6 +34,9 @@
|
||||
</head>
|
||||
<body <?php $page_slug = $post->post_name; body_class($page_slug); ?>>
|
||||
<div id="wrap" class="container" role="document">
|
||||
<?php if (get_option('roots_css_framework') === '1140') { ?>
|
||||
<div class="row">
|
||||
<?php } ?>
|
||||
<header id="banner" class="<?php echo roots_container_class; ?>" role="banner">
|
||||
<div class="container">
|
||||
<a id="logo" href="<?php site_url(); ?>/"><img src="<?php echo get_stylesheet_directory_uri(); ?>/img/logo.png" width="300" height="75" alt="<?php bloginfo('name'); ?>"></a>
|
||||
@@ -43,3 +48,9 @@
|
||||
</nav>
|
||||
</div>
|
||||
</header>
|
||||
<?php if (get_option('roots_css_framework') === '1140') { ?>
|
||||
</div><!-- /.row -->
|
||||
<?php } ?>
|
||||
<?php if (get_option('roots_css_framework') === '1140') { ?>
|
||||
<div class="row">
|
||||
<?php } ?>
|
||||
|
||||
Reference in New Issue
Block a user