Hey Joe,
I've just begun trying to use LESS css with mojoPortal, and I've run into what appears to be a compilation error.
When I input an image path, normally it is relative to the skin root like so:
.element {
background-image: url('images/myImage.png');
}
And it renders as:
.element {
background-image: url("data/sites/[sitenumber]/skin/[skinname]/images/myImage.png");
}
But when I add that rule in a .LESS file, it renders without the "data/sites/[sitenumber]" stuff before the image name. This is an issue for me because I'm not usually sure what the site number is going to be for the user who ends up with the skin I build.
I've tested this on the bootstrap204less skin included with mojo and I have the same problem. If the background-image is declared in a .css file it renders properly, but not in a .less file.
Do you know what's causing this or how to fix it?
Thanks,
-Isaac