# New Bootstrap 4 Blocks page Agency empties existing styles.css without warning

**URL:** <https://forum.pinegrow.com/t/new-bootstrap-4-blocks-page-agency-empties-existing-styles-css-without-warning/4950>\
**Category:** Bug Reports\
**Tags:** blocks, bootstrap4\
**Created:** [February 13, 2021, 7:40am UTC](https://forum.pinegrow.com/t/new-bootstrap-4-blocks-page-agency-empties-existing-styles-css-without-warning/4950 "2021-02-13T07:40:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mazzel](https://avatars.discourse-cdn.com/v4/letter/m/58956e/32.png) [@mazzel](https://forum.pinegrow.com/u/mazzel)\
**Post date:** [February 13, 2021, 7:40am UTC](https://forum.pinegrow.com/t/new-bootstrap-4-blocks-page-agency-empties-existing-styles-css-without-warning/4950/1 "2021-02-13T07:40:38Z")

</div>

Hi,  
I have a project: example StartTheme2 with a styled style.css file with own css.  
If I then open the new Agency Bootstrap 4 Blocks page from the offered template library then it wipes out style.css without warning and saves it,  
From \_pgbackup I can recover my styles.css.  
But this is not nice.  
Opening a new bootstrap library page should warn me that it will overwrite the styles.css page.  
In the default Agency template there is by default a style.css attached, an empty one.

Reproduce:  
Starting with a new PGW session.

1. Open a project, exampe ST2 Starters Theme 2 and one of the html files: index.html
2. Make sure there is some own css in this file, just create some in case yours is empty and save it
3. From the menu choose New page, Bootstrap 4 Blocks and then the Agemcy example choose a new file name: example: testindex.html
4. The page opens now
5. Styles.css is now empty and has size 0

Tested on PGW 5.991 Feb 13th 2021.

---

<div class="post-metadata">

**Author:** ![RobM](https://avatars.discourse-cdn.com/v4/letter/r/278dde/32.png) [@RobM](https://forum.pinegrow.com/u/RobM)\
**Post date:** [February 13, 2021, 10:37am UTC](https://forum.pinegrow.com/t/new-bootstrap-4-blocks-page-agency-empties-existing-styles-css-without-warning/4950/2 "2021-02-13T10:37:37Z")

</div>

Hi @mazzel,  
I can confirm your bug. Thanks for giving such a detailed report! It will be looked into right away.  
Cheers,  
Bob

---

<div class="post-metadata">

**Author:** ![matjaz](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/matjaz/32/5_2.png) [@matjaz](https://forum.pinegrow.com/u/matjaz)\
**Post date:** [February 14, 2021, 5:03am UTC](https://forum.pinegrow.com/t/new-bootstrap-4-blocks-page-agency-empties-existing-styles-css-without-warning/4950/3 "2021-02-14T05:03:22Z")

</div>

Thanks for the report @mazzel!

We pushed a quick fix for this through our live system (a JS file loaded from our server). You just need to restart Pinegrow for changes to take effect.

Matjaz

---

<div class="post-metadata">

**Author:** ![mazzel](https://avatars.discourse-cdn.com/v4/letter/m/58956e/32.png) [@mazzel](https://forum.pinegrow.com/u/mazzel)\
**Post date:** [February 14, 2021, 7:47am UTC](https://forum.pinegrow.com/t/new-bootstrap-4-blocks-page-agency-empties-existing-styles-css-without-warning/4950/4 "2021-02-14T07:47:48Z")

</div>

many thanks @matjaz and @RobM for the fast solution-fix!  
Regs, Hans
