# Not all js and css exported

**URL:** <https://forum.pinegrow.com/t/not-all-js-and-css-exported/1963>\
**Category:** Pinegrow WP\
**Tags:** bug\
**Created:** [June 12, 2018, 9:31pm UTC](https://forum.pinegrow.com/t/not-all-js-and-css-exported/1963 "2018-06-12T21:31:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lionux](https://avatars.discourse-cdn.com/v4/letter/l/57b2e6/32.png) [@lionux](https://forum.pinegrow.com/u/lionux)\
**Post date:** [June 12, 2018, 9:31pm UTC](https://forum.pinegrow.com/t/not-all-js-and-css-exported/1963/1 "2018-06-12T21:31:43Z")

</div>

Dear All;

Is there some limitation in the number of js and css to export to wordpress from PG?

After the export, my theme is broken.  
I compared the html source used from PG to generate the WP theme, and the html generated by WP.

I noticed two missing stylesheets:

and one missing js:

Are those names reserved by WP? or is it a bug within PG?  
How can I resolve this? Any ideas?

Thanks,

L.

---

<div class="post-metadata">

**Author:** ![lionux](https://avatars.discourse-cdn.com/v4/letter/l/57b2e6/32.png) [@lionux](https://forum.pinegrow.com/u/lionux)\
**Post date:** [June 13, 2018, 7:13pm UTC](https://forum.pinegrow.com/t/not-all-js-and-css-exported/1963/2 "2018-06-13T19:13:14Z")

</div>

I think I know the problem.

Some of my css files have the same names (e.g. style.css), but are in different directories.  
So the index.html, and Pinegrow editors are rendering it correctly.

However, Pinegrow WP seems to export only one css file per file name. So, if you have a css file having the same name in different directories, the export does not fully work.

I have now changed my style.css files with style-{upper directory name}.css, and I can export the theme without issue.

Can this be fixed in the next support release of Pinegrow WP? (assuming I am correct of course).

Thanks, L.

---

<div class="post-metadata">

**Author:** ![texxsmith](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/texxsmith/32/1201_2.png) [@texxsmith](https://forum.pinegrow.com/u/texxsmith)\
**Post date:** [June 15, 2018, 2:46pm UTC](https://forum.pinegrow.com/t/not-all-js-and-css-exported/1963/3 "2018-06-15T14:46:17Z")

</div>

sometimes I"inherit" other peoples creations and their directory structure is like this. Thanks for posting it here.

Me personally, I find it annoying when there is more than one .css file with the same name. Actually any type of file. I know that sometimes it makes sense to have have it that way, like an index.html file in different directories. but it can get confusing.
