Hi,
I still have the problem that after working on the custom.less and compiling the frontend will get destroyed.
What I get after compiling is a mixture of my styles and predefined template design - see screenshot before and after.
I work with the buildr template. Since I began with the styling less compiling worked well until one day the error occured. Several problems with the template followed. Now I kept working on with a backup version which was before the first crash. The template design I could restore by putting an older file of the template settings folder on the server.
Now I needed new changes in the custom.less and same problem again. I tried to replace settings folder, also the less folder but I couldn't fix the error. Only the last backup version saved me.
Do you have any idea why less compiling didn't work any longer?
Could you give me an alternative way of less compiling - perhaps directly by writing in the files?

Thanks for help, kind regards, Orti

Update :: the problem is the custom.css which will be overwritten with the css styling from the custom.less by less compiling so that after compiling the whole input from the less is in there. If you log into the site you will see, that everything is okay because I have already copied the original styles back into the custom.css to see, if the frontend is alright then and it is. You can make a test for yourself compiling so that you can see what happens. Unfortunately the new added style in the custom.less is still there after the process but it isn't compiled and shown in frontend.
So the solution is not compiling and after that changing back the custom.css. Compiling doesn't work correctly and it is absolutely neccessary that we get it run again because I need some more changes in the custom.less.
Hope we can find a solution.
Kind regards, Orti

    viktoria2
    Hi
    By default we do not provide custom.less file,
    It comes with a renamed name in the template so it can be later used.
    As i checked your custom.less file has different code compare to custom.css file
    In this case you should not use custom.less file.
    And move all your changes into custom.css file., rename the custom.less and compile the style. It will not override custom.css.

    Regards

    Hey,
    this worked. Thanks for help!
    Kind regards, Orti

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