Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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>
</div>
  • Loading branch information...
commit 858e4003e6ef3470448e40c35d51e362c739f8bb 1 parent 3ca1f33
@luizmcarvalho authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 frontend/views/layouts/main.php
View
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: h5bp.com/b/378 -->
<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-->
Please sign in to comment.
Something went wrong with that request. Please try again.