Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • guayo Friend
    #206009

    Hello

    I have a pretty much, clean installation of Cagox, and I can’t use Less files. It returns the following error:

    Compile LESS to CSS failed

    templates/ja_cagox/acm/slideshow/less/style.less
    .translateY is undefined

    It is the first time I face this problem. How can I fix it?

    cbc575 Friend
    #569131

    Hi there, Im not and expertise in this but this type of error messages happen to me a couple times after modifying the .less files, I will advise you to return your backup file (the original) and start your changes all over. I might have a fresh copy of the file if you need it. Regards.

    guayo Friend
    #569132

    Thanks for the answer. But in this case I’ve tested with a not modified set of less files and also the modified and the result is the same.
    The error is that the class .translateY is undefined.
    It’s not any other class that I’ve modified that’s generating the issue.
    Seems like a bug.

    Saguaros Moderator
    #569297

    You can open the file: ROOT/templates/ja_cagox/acm/slideshow/less/style.less

    Look for this rule:


    .carousel-indicators {
    text-align: left;
    position: absolute;
    margin: 0;
    width: 20px;
    left: auto;
    right: 0;
    top: 50%;
    bottom: auto;
    line-height: 1;
    .translateY(-50%);

    change it to:


    .carousel-indicators {
    text-align: left;
    position: absolute;
    margin: 0;
    width: 20px;
    left: auto;
    right: 0;
    top: 50%;
    bottom: auto;
    line-height: 1;
    transform: translate(-50%, -50%);

    Then try compiling again.

    Hope this helps.

    guayo Friend
    #569985

    Perfect! Thanks for the help!

    guayo Friend
    #735059

    Perfect! Thanks for the help!

Viewing 6 posts - 1 through 6 (of 6 total)

This topic contains 6 replies, has 3 voices, and was last updated by  guayo 9 years, 6 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum