# Integarting bootstrap 4 in cakephp 4.X

**URL:** https://discourse.cakephp.org/t/integarting-bootstrap-4-in-cakephp-4-x/7693
**Category:** Need Help
**Created:** [April 21, 2020, 12:16pm UTC](https://discourse.cakephp.org/t/integarting-bootstrap-4-in-cakephp-4-x/7693 "2020-04-21T12:16:08Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Shewolf](https://avatars.discourse-cdn.com/v4/letter/s/c89c15/32.png) [@Shewolf](https://discourse.cakephp.org/u/Shewolf)
#### Post date: [April 21, 2020, 12:16pm UTC](https://discourse.cakephp.org/t/integarting-bootstrap-4-in-cakephp-4-x/7693/1 "2020-04-21T12:16:08Z")

</div>

Hi there.

I am new to cakephp and would like to know the following.

1. Can I modify the templates /pages/ home.php file and copy part of the bootstrap code into ? With the header code ?.
2. I also see there is a webroot folder which contains a js folder, font, css, and img folder. Can I remove replace al those folder content with default bootstrap 4 css, js and css folders ?

As I am currently busy trying build my very own cms.

Kind Regards,

Francois

---

<div class="post-metadata">

### Author: ![Zuluru](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.cakephp.org/zuluru/32/1230_2.png) [@Zuluru](https://discourse.cakephp.org/u/Zuluru)
#### Post date: [April 21, 2020, 2:07pm UTC](https://discourse.cakephp.org/t/integarting-bootstrap-4-in-cakephp-4-x/7693/2 "2020-04-21T14:07:38Z")

</div>

Yes and yes. What you have there is a template that’s useful for getting you started. It’s not meant to stay unchanged as you develop your application.

---

<div class="post-metadata">

### Author: ![anon81960487](https://avatars.discourse-cdn.com/v4/letter/a/958977/32.png) [@anon81960487](https://discourse.cakephp.org/u/anon81960487)
#### Post date: [April 21, 2020, 3:47pm UTC](https://discourse.cakephp.org/t/integarting-bootstrap-4-in-cakephp-4-x/7693/3 "2020-04-21T15:47:17Z")

</div>

You would be better off going to /layouts/index.php and insert bootstrapcdn. Then, it would be applied to every page with the default layout.
