O'Reilly logo

CouchDB and PHP Web Development Beginner's Guide by Tim Juravich

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action — including Bootstrap and adjusting our layout to work with it

Because the Bootstrap framework is just a series of files, it'll be a breeze for us to include it in our project, just as we did with our master.css file in Chapter 4,

  1. Start by adding a link to bootstrap.min.css and bootstrap-responsive.min.css before master.css in the layout.php file:
    <head>
    <link href="<?php echo $this->make_route('/css/bootstrap.min.css') ?>" rel="stylesheet" type="text/css" />
    <link href="<?php echo $this->make_route('/css/master.css') ?>" rel="stylesheet" type="text/css" />
    <link href="<?php echo $this->make_route('/css/bootstrap-responsive.min.css') ?>" rel="stylesheet" type="text/css" />
    
    </head>
    
  2. Next, let's make sure that Bootstrap works well ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required