0
Welcome Guest! Login
0 items Join Now

Less is more?

  • Less is more?

    Posted 11 years 11 months ago
    • Ever since RocketTheme switched to .less technology for CSS we have a very difficult time managing our custom CSS overrides. We have read the articles posted by RT and others.

      We are adding our overrides to a file we named mojo-custom.less which lives in the less folder in the template folder, and we have added the following line as the last entry inthe globa.less file:
      @import "mojo-custom.less";

      The problems seems to stem from the fact that Gantry is assigning ownership for certain folders it writes to the cache folder. It writes them with apache ownership, instead of the site user as we have the servers set up. The two most common folders where we are seeing this issue are:
        Gantry
        GantryLess

      The only way we have been able to work around this is to reset the ownership on these folders, open up permissions (777) and delete the cached contents to force the CSS to update, but even that isn't always successful.

      We are seeing this on multiple sites -- but it only started with LESS. Any ideas about how we can work around this, would be greatly appreciated.

      BTW - If we make changes directly to any of the other CSS files in the same less folder, those changes show up immediately, which leads me to believe that either we are not doing something correctly (likely I supose) or gantry is not loading the custom.less file as planned.

      SL
    • Who?'s Avatar
    • Who?
    • Preeminent Rocketeer
    • Posts: 25562
    • Thanks: 613
    • Joomla freelancer

    Re: Less is more?

    Posted 11 years 11 months ago

Time to create page: 0.093 seconds