Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Update frontend/views/layouts/main.php #31

Merged
merged 1 commit into from

2 participants

luizmcarvalho Antonio Ramirez
luizmcarvalho

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.

 

Example page header Subtext for header

luizmcarvalho luizmcarvalho 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>
858e400
Antonio Ramirez tonydspaniard merged commit 492e55d into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Nov 26, 2012
  1. luizmcarvalho

    Update frontend/views/layouts/main.php

    luizmcarvalho authored
    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>
This page is out of date. Refresh to see the latest.
Showing with 3 additions and 2 deletions.
  1. +3 −2 frontend/views/layouts/main.php
5 frontend/views/layouts/main.php
View
@@ -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-->
Something went wrong with that request. Please try again.