Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I was concerned that my inability to run the LESS module successfully was related to my server environment, but I turned off Hexagon and Canvas and instead turned on another theme and was able to compile LESS properly. Could this be related to Hexagon's caching?
Comment | File | Size | Author |
---|---|---|---|
#3 | less_compatibility.zip | 6.03 KB | dvessel |
Comments
Comment #1
dvessel CreditAttribution: dvessel commentedI looked at what LESS module was doing and found the cause. It's the preprocess functions that modifies the css files. The smarter styles plug-in from Hexagon conflicts with this. I'll post a compatibility plug-in later that you can drop into your theme.
Comment #2
lindsayo CreditAttribution: lindsayo commentedThat would be awesome, dvessel, thank you.
Comment #3
dvessel CreditAttribution: dvessel commentedDrop this into your theme folder and clear the cache. This is only a temporary solution. In Drupal 7 it shouldn't even be needed since it gives us access to a css alter hook.
This plug-in may not be pretty but it should work. Tell me if it does or not.
Comment #4
lindsayo CreditAttribution: lindsayo commentedThanks, dvessel, this is working. You saved me a lot of time b/c I can now use LESS. Thank you so much. :)