Difference between #184 and #185 of
Yii v2 snippet guide

Revision #185 has been created by rackycz on May 7, 2020, 10:16:08 AM with the memo:

Bootswatch
« previous (#184) next (#186) »

Changes

Title unchanged

Yii v2 snippet guide

Category unchanged

Tutorials

Yii version unchanged

2.0

Tags unchanged

tutorial,beginner,yii2

Content changed

[...]
<?php ActiveForm::end(); ?>

<?php yii\widgets\Pjax::end() ?>
```

 
**Simple Bootstrap themes**
 
---
 
There is this page [https://bootswatch.com](bootswatch.com) which provides simple bootstrap themes. It is enough just to replace one CSS file - you can do it in file "views/layouts/main.php" just by adding following row just before </head> tag:
 
```html
 
<link href="https://bootswatch.com/3/readable/bootstrap.min.css" rel="stylesheet">
 
```
 
Note that currently Yii2 is using Bootstrap3 so when searching for themes, dont forget to switch to section "Bootstrap 3".
7 0
4 followers
Viewed: 274 949 times
Version: 2.0
Category: Tutorials
Written by: rackycz
Last updated by: rackycz
Created on: Sep 19, 2019
Last updated: a year ago
Update Article

Revisions

View all history