# Is there a way to set the default directory for css files to /css and js files to /js?

**URL:** <https://forum.pinegrow.com/t/is-there-a-way-to-set-the-default-directory-for-css-files-to-css-and-js-files-to-js/3431>\
**Category:** Beginners\
**Created:** [October 14, 2019, 6:19pm UTC](https://forum.pinegrow.com/t/is-there-a-way-to-set-the-default-directory-for-css-files-to-css-and-js-files-to-js/3431 "2019-10-14T18:19:58Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![gregg](https://avatars.discourse-cdn.com/v4/letter/g/df705f/32.png) [@gregg](https://forum.pinegrow.com/u/gregg)\
**Post date:** [October 14, 2019, 6:19pm UTC](https://forum.pinegrow.com/t/is-there-a-way-to-set-the-default-directory-for-css-files-to-css-and-js-files-to-js/3431/1 "2019-10-14T18:19:58Z")

</div>

I start with a new clean basic page and I note that it puts a .css file in the root site directory. I’d rather put all these files in /css. Same with .js. Is there an option to set PineGrow to do this?

---

<div class="post-metadata">

**Author:** ![droidgoo](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/droidgoo/32/2209_2.png) [@droidgoo](https://forum.pinegrow.com/u/droidgoo)\
**Post date:** [October 14, 2019, 10:21pm UTC](https://forum.pinegrow.com/t/is-there-a-way-to-set-the-default-directory-for-css-files-to-css-and-js-files-to-js/3431/2 "2019-10-14T22:21:51Z")

</div>

i’m running win7 and PGpro when i create a new project, PG automagically creates /css/styles.css in the project folder…

the process is a bit wonky, and i had to play around with it before i got it flow correctly, but now it goes something like this.

- open PG
- select “new page or project”
- i drill down to “plain HTML” for this (maybe that’s why?)

this creates a “new.html” file in PG that i can start adding markup to, but before i do any of that …

- choose SaveAs
- choose or create a new empty folder for your project in the dialog box
- click “open”
- click “save” (change the html file name here if “new” is not what you want)
- then back in PG, choose “open as project”

you should now have a new project folder with your html page and a /css folder already linked into your `<head>` section.

i found if i deviate very much from this process things don’t seem to go as i would expect them to…

that doesn’t help with the /js folder, but then i have js turned off on mine, so that might be why.

---

<div class="post-metadata">

**Author:** ![gregg](https://avatars.discourse-cdn.com/v4/letter/g/df705f/32.png) [@gregg](https://forum.pinegrow.com/u/gregg)\
**Post date:** [October 15, 2019, 12:20am UTC](https://forum.pinegrow.com/t/is-there-a-way-to-set-the-default-directory-for-css-files-to-css-and-js-files-to-js/3431/3 "2019-10-15T00:20:44Z")

</div>

Thanks. I tried that and it does as you suggest…/css directory with a styles.css in it. I wonder why doesn’t that work for a Bootstrap 4 project? And if you add a Bootstrap 4 page to this new project it says it can’t find style.css (cuz it’s in the /css directory)…where it seems like it should be. Seems odd.

Gregg

---

<div class="post-metadata">

**Author:** ![AllMediaLab](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/allmedialab/32/2079_2.png) [@AllMediaLab](https://forum.pinegrow.com/u/AllMediaLab)\
**Post date:** [October 15, 2019, 7:19am UTC](https://forum.pinegrow.com/t/is-there-a-way-to-set-the-default-directory-for-css-files-to-css-and-js-files-to-js/3431/4 "2019-10-15T07:19:46Z")

</div>

Hi Gregg,  
When you open a Bootstrap 4 project there is a “assets” folder created that can contain css, js, images etc.  
This is a great tutorial to get you going with a Bootstrap Project and SASS!  
[https://youtu.be/x4ciqMHQIKs](https://youtu.be/x4ciqMHQIKs)  
Regards,  
David
