bootstrapwp-Twitter-Bootstrap-for-WordPress
bootstrapwp-Twitter-Bootstrap-for-WordPress copied to clipboard
Latest LESS doesn't compile
I have been compiling LESS with CodeKit successfully up until the latest CodeKit update. After bumping up to CodeKit 1.7.1 (8317) I get this error, even after reverting to a clean version of BootstrapWP:
ParseError: Unrecognised input in [PROJECT PATH]/wp-content/themes/bootstrap/assets/css/less/mixins.less on line 567, column 7: 566 .spanX (@index) when (@index > 0) { 567 (~".span@{index}") { .span(@index); } 568 .spanX(@index - 1);
(This action was triggered by a change to bswp-custom.less)
Can you advise? Thanks in advance for your time.
Just updated and trying to figure it out as well. Have any luck yet?
Looks like LESS 1.4.0 has deprecated 'selector interpolation'. You'll need to change the syntax.
Example: (~".myclass_@{index}") { ... selector interpolation is deprecated, do this instead .myclass_@{index} { .... This works in 1.3.1 onwards.
Source: http://lesscss.org/
I was able to resolve this by gutting Rachel's Bootstrap LESS and replacing it with a fresh copy of Bootstrap.