By MikeD on Sunday, 01 November 2015
Posted in Elegant
Likes 0
Views 2.2K
Votes 0
Hi Guys,

Get the following error when trying to compile LESS for the Elegant template:


Error

parse error: failed at `.img-retina(@file-1x; @file-2x; @width-1x; @height-1x) {` . . . /templates/elegant//less/../bootstrap/less/mixins/image.less on line 20

An error occurred. Failed to compile.
Hey MikeD,

Hm, I have forwarded this issue to our designer and as soon as they get to office on Monday, they will look into this
·
Sunday, 01 November 2015 14:32
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi MikeD,

Can I know which version of the LESS compiler (or compiler app) you are using?
·
Sunday, 01 November 2015 20:49
·
0 Likes
·
0 Votes
·
0 Comments
·
Did not know you needed to install one, so installed the one at:

http://extensions.joomla.org/extensions/extension/miscellaneous/development/less-compiler

Tried again, but got the same error.
·
Monday, 02 November 2015 13:16
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi MikeD,
Elegant template are using Bootstrap 3.3.4 and above, I have updated the Site Lessc version to use lessphp-1.7.x.x compiler for you. More info on the plugin please check https://github.com/ndeet/plg_system_less.
http://screencast.com/t/agyReCtBf6T
·
Monday, 02 November 2015 14:15
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Chang,

Thank you for your help. However, I just tried to compile theme.less and got the same error.

Did it revert back, or am I doing something wrong?

Thanks,
·
Wednesday, 04 November 2015 12:50
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi MikeD,

Please go to the backend -> Plugins -> System - Less Compiler -> change the "Site Lessc version" as I mention before.
http://screencast.com/t/7DKVusmv
·
Wednesday, 04 November 2015 13:40
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Chang,

Thanks again. All working great. Awesome template!
·
Sunday, 08 November 2015 12:15
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello MikeD,

You're welcome.
·
Monday, 09 November 2015 11:34
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post