C5.7: One of my Less files not being compiled
Permalink
Hi,
In my site I have the following in my header.php:
<?php echo $html->css($view->getStylesheet('screen.less'))?>
In screen.less, I have the following @imports:
@import "reset.less";
@import "typography.less";
@import "nav.less";
@import "forms.less";
All of these files are successfully compiled into screen.css when I check the code except for nav.less. I can't see anything wrong with that file and I even created a completely new file and pasted my less into that and uploaded it but it still doesn't get compiled into the main css file.
What could be wrong? Would a mistake in the css mean it doesn't get compiled?
Thanks
Dave
In my site I have the following in my header.php:
<?php echo $html->css($view->getStylesheet('screen.less'))?>
In screen.less, I have the following @imports:
@import "reset.less";
@import "typography.less";
@import "nav.less";
@import "forms.less";
All of these files are successfully compiled into screen.css when I check the code except for nav.less. I can't see anything wrong with that file and I even created a completely new file and pasted my less into that and uploaded it but it still doesn't get compiled into the main css file.
What could be wrong? Would a mistake in the css mean it doesn't get compiled?
Thanks
Dave