After looking at the Elemental theme I noticed that it uses LESS for the primary stylesheet. I have tried to use LESS myself on a Bootstrap theme I am building but it is not reading the LESS stylesheet.
I figured there is a compiler I have not included or something along those lines. Any help will be greatly appreciated!
Concrete5 5.7 does have a built-in Less compiler. It uses Less.php.
Are you trying to reuse some of the Less in the Elemental theme or writing your own from scratch? Have you tested that the Less compiles outside of concrete5?
No, I'm not reusing the Elemental theme. I've basically just begun building the theme so it's in the very early stages.
Yes, I have tried to compile it outside of concrete5, and it compiles fine.
The restructuring of 5.7 is completely throughing me for a loop, so I feel like I've missed a step or something.
Do I need to include the Less.php somehow? Or is it loaded automatically?
In your theme are you using
<?php echo $html->css($view->getStylesheet('YOURSTYLESHEET.less'))?>
<?php $view->getThemePath() ?>
<?php echo $this->getThemePath()?>
Without documentation I honestly am not sure what is what. But getStylesheet() was in the Elemental theme getting the Less file.
If Less is already part of your development workflow, you could always just compile it and put the plain CSS in your theme file. I think Less really comes into play when making theme presets because they work based on the variables.
I am using the getStylesheet() method, because like you mentioned, that is what Elemental theme was using.
I had thought about compiling and then uploading CSS, but I was thinking that if 5.7 has a built in compiler that works well, it would save me a step, which over the course of developing an entire site, would be a bit of time.
Was facing similar issue.