Skip to content
Browse files

Update frontend/views/layouts/main.php

Put normalize.css to the top to avoid Bootstrap conflicts. 

Example: When I use the YiiBooster Page Header example, the h1 has the same font-size than small tag.

<div class="page-header">
	  <h1>Example page header <small>Subtext for header</small></h1>
  • Loading branch information...
1 parent 3ca1f33 commit 858e4003e6ef3470448e40c35d51e362c739f8bb @luizmcarvalho committed Nov 26, 2012
Showing with 3 additions and 2 deletions.
  1. +3 −2 frontend/views/layouts/main.php
5 frontend/views/layouts/main.php
@@ -17,7 +17,8 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<!-- Place favicon.ico and apple-touch-icon.png in the root directory -->
+ <link rel="stylesheet" href="<?php echo Yii::app()->request->baseUrl; ?>/css/normalize.css">
<!-- Use the .htaccess and remove these lines to avoid edge case issues. More info: -->
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
@@ -26,7 +27,7 @@
<meta name="keywords" content="">
<meta name="viewport" content="width=device-width,initial-scale=1">
- <link rel="stylesheet" href="<?php echo Yii::app()->request->baseUrl; ?>/css/normalize.css">
<link rel="stylesheet" href="<?php echo Yii::app()->request->baseUrl; ?>/css/main.css">
<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/styles.css"/>
<!--using less instead? file not included-->

0 comments on commit 858e400

Please sign in to comment.
Something went wrong with that request. Please try again.