0
Welcome Guest! Login
0 items Join Now

less CSS not refreshing

    • dn8's Avatar
    • dn8
    • Newbie
    • Posts: 1
    • Thanks: 0

    less CSS not refreshing

    Posted 11 years 11 months ago
    • Chapelco template.

      Changed to a different sized logo. I edited the #rt-logo a in template.less.
      #rt-logo {
           a {
                margin: 0;
                width: 181px;
                height: 42px;
                display: inline-block;
                background-repeat: no-repeat;
                background-position: 50% 50%;
           }
      }

      I have cleared the cache in both the RT template and joomla as well as my browser.

      I am unable to see my changes. What am I doing wrong?

      Thanks!
    • DanG's Avatar
    • DanG
    • Preeminent Rocketeer
    • Posts: 36750
    • Thanks: 3229
    • Custom work done

    Re: less CSS not refreshing

    Posted 11 years 11 months ago
    • What about the Compiler cache in Template Manager -> Advanced -> Clear Compiler cache

      The only drawback with LESS is that you can't edit inside the Template Manager with a LESS file as it doesn't see the folder. A custom CSS would have worked just as well.
      Also NEVER alter the original LESS files. Better to make a template-custom.less file and make changes there.
      Please see these links to better understand how to create your own custom CSS file for our newer LESS templates:
      Your first CSS-Less custom file or CSS custom file

Time to create page: 0.068 seconds