Closed alexisdavalos closed 4 years ago
As you might have guessed I can't provide full platform support here, but try removing the imports and listing the stylesheets in order in the template.conf
stylesheets array, e.g.:
{
"stylesheets" : [ "fullwidth.less", "threeBlocks.less", "banner.less", ... etc ]
}
If you suspect any errors might be due to a bug or issue in using either the platform or local development server, you can contact Squarespace support for assistance: https://support.squarespace.com/hc/en-us/articles/206545717#toc-can-i-contact-customer-support-for-help-
That worked perfectly. Thank you so much!!
I'm currently in local development mode and I'm working out of index.less file. I'm importing styles from files I've included in the
styles
folder.I have also tried importing in the following ways as well:
@import "fullwidth"
@import "fullwidth.less"
The CSS compiles just fine in local development mode, however... it throws an error on line 1 of index.less because it cannot find the file in production?
I have committed my changes and pushed to master and also checked for the existence of the file via FTP.
Couldn't find any answers online, can anyone from the Squarespace dev team point me in the right direction? Thank you.