Hi martinbeaumont

It took time to detect the issue.

The problem comes from some undefined variables for color in template, when compiling less, I see 2 strange variables:

@tricolor
@quadcolor

like this:

I don't find this variable in template JB Buildr by default.

Please replace these variables by color as you wish, the settings will be applied correctly then.

Regards

Thanks Saguaros

I've removed all the weird variables and still no joy in making the changes. Can I ask how you were troubleshooting the LESS compliation, so I might be able to track down the final unknown variables or incorrect LESS files.

Cheers

    martinbeaumont

    You can go to Templates >> Settings >> there is 'Compile LESS' button there.

    Once it's compiled, you scroll down to the end of the screen, it will notice error if any:

    Remember to backup your site before compiling.

    Hi there,

    Yes I've done that, no errors are shown?

    I'm wondering if the complied files have errors in them? If that is the case would I need to go thru the generated css files to find the errors? Or would the css files just not be generated in the first place due to these variables?

    Is there a complier log file somewhere? Or am I over thinking this :-)

      Sure, I'm doing an Akeeba backup now. Do you want me to share that via Dropbox (or similar) or will you login and grab a copy?
      Or I can do a cPanel one and share that?
      Let me know.
      Cheers

        martinbeaumont

        When I compile LESS, I still see error mentioning the wrong variables you added:

        Kindly check again.

        Thanks Saguaros,

        Is there any reason why I can't edit the files that go to make templates/buildr/less/template-generated.less?
        If I look thru the template GUI i don't see the variable referenced, so I think it'll be left over in a LESS file somewhere?

          martinbeaumont

          Here are some sections that you're using above 2 variables: @tricolor and @quadcolor

          You can simply remove it and replace by a color code, then compile LESS again, it will work fine.

          Thanks Saguaros for sticking this one through.

          I never considered looking thru the properties of each Row/Container style - I was just looking at the overall template settings.

          Ok, so this is now solved! Thanks again for your help!

            Write a Reply...
            You need to Login to view replies.