Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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 luizmcarvalho authored

Showing 1 changed file with 3 additions and 2 deletions. Show diff stats Hide diff stats

  1. +3 2 frontend/views/layouts/main.php
5 frontend/views/layouts/main.php
@@ -17,7 +17,8 @@
17 17 <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
18 18
19 19 <!-- Place favicon.ico and apple-touch-icon.png in the root directory -->
20   -
  20 + <link rel="stylesheet" href="<?php echo Yii::app()->request->baseUrl; ?>/css/normalize.css">
  21 +
21 22 <!-- Use the .htaccess and remove these lines to avoid edge case issues. More info: h5bp.com/b/378 -->
22 23 <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
23 24
@@ -26,7 +27,7 @@
26 27 <meta name="keywords" content="">
27 28 <meta name="viewport" content="width=device-width,initial-scale=1">
28 29
29   - <link rel="stylesheet" href="<?php echo Yii::app()->request->baseUrl; ?>/css/normalize.css">
  30 +
30 31 <link rel="stylesheet" href="<?php echo Yii::app()->request->baseUrl; ?>/css/main.css">
31 32 <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/styles.css"/>
32 33 <!--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.