Search code examples
twitter-bootstrap-3lesskentico

What's the best practice with Kentico 8.2 and LESS files


I'm working on a new site within Kentico, and the plan is a combination of portal and code via Visual Studio. I had originally thought i would use SASS, but read and implemented the LESS module.

So, when i create a new CSS in the portal, i can now select LESS as the language. When i do this, i don't see any new files with the appropriate App_Theme folder, nor do i see any LESS files in the CSS portal.

The main goal is the use the Bootstrap grid system, with some custom variables and mixins, as well as other custom elements, but i'm stumped on what i thought would be simple.


Solution

  • This is for v9, but should work for v8 as well (maybe with some minor mods) but should get you what your looking for with being able to edit/view the items in the Kentico UI.

    https://docs.kentico.com/display/K9/Registering+CSS+preprocessors