Less Expected Color Value: Failed At `e.less";` Line: 30

Hello, in our frontend we get this error message

LESS expected color value: failed at `e.less";` line: 30

@import "addons/discussion/styles.less";
@import "addons/discussion/responsive.less";
@import "addons/wishlist/styles.less";
@import "addons/wishlist/responsive.less";
@import "addons/image_zoom/styles.less";
@import "addons/hybrid_auth/styles.less";
@import "addons/abt__youpitheme/styles.less";
@import "addons/ab__seo_filters/ab__sf.less";

The whole style seems to be broken. What can I do to fix this?

Thanks much in advance

saye

If you added incorrect code to the CSS section of the Theme editor, corresponding styles can be changed directly in the file

design/themes/THEME/styles/data/STYLE_NAME.less

Hello,

thanks much for the reply. Actually I only made a change to the button colors in the Theme Editor and that is all.

After clearing the cache, the complete style was broken.

Now the site does not seem to load the css styles.

.top-menu-grid .ty-menu__item-active a.ty-menu__item-link, .top-menu-grid .ty-menu__item-active .ty-menu__item-link, .top-menu-grid-vetrtical .ty-menu__item-active a.ty-menu__item-link, .top-menu-grid-vetrtical .ty-menu__item-active .ty-menu__item-link { background: rgba(0, 0, 0, 0.15); } .top-menu-grid, .top-menu-grid-vetrtical, .color-block { background: -moz-linear-gradient(90deg, #2C3E50 30%, #22313F 100%); background: -webkit-linear-gradient(90deg, #2C3E50 30%, #22313F 100%); background: linear-gradient(90deg, #2C3E50 30%, #22313F 100%); } .ty-discount-label { background: -moz-linear-gradient(135deg, #d4021c 30%, #d4021d 100%); background: -webkit-linear-gradient(135deg, #d4021c 30%, #d4021d 100%); background: linear-gradient(135deg, #d4021c 30%, #d4021d 100%); } .ab_dotd_product_label { background: #00bbb3; } .ty-product-block .ab__deal_of_the_day, .ty-product-detail.fixed-form .sticky-block { background: white; border: 3px solid transparent; -moz-border-image: -moz-linear-gradient(top right, #ef45a3 0%, #00bbb3 100%); -webkit-border-image: -webkit-linear-gradient(top right, #ef45a3 0%, #00bbb3 100%); border-image: linear-gradient(to bottom right, #ef45a3 0%, #00bbb3 100%); border-image-slice: 1; } .ty-btn__primary { background: -webkit-linear-gradient(135deg, #99d257 30%, #74b632 100%); background: linear-gradient(135deg, #99d257 30%, #74b632 100%); } .ty-btn__primary:hover { background: -webkit-linear-gradient(135deg, #98d155 30%, #5b9d1a 100%); background: linear-gradient(135deg, #98d155 30%, #5b9d1a 100%); } 

That is the current status. The website is installed on a test environment and can be found here: https://selisha.dev-on.info

Any help is much appreciated.

Depending on the theme you use, default styles can be found in the repository. For example, main styles are located here

var/themes_repository/THEME/css/styles.less

Try to replace current files with the files from repository

That is exactly what I did, thanks for the idea.

Actually it does not work.

Maybe its an error due to the cache....? Right now it doesn't even display any errors. The style "standalone.......css" is not being loaded correctly.

Did you visit the URL? Any other ideas, what this could be?

Thanks much

Mr Reid

Unfortunately, you URL does not work for me

https://prnt.sc/mwt79g

Hello, yes it seems visits from Russia are blocked directly. Can you use VPN to enter site?

Great thanks in advance.

Please check if the following file exists

var/cache/misc/assets/design/themes/abt__youpitheme/css/standalone.ffbf6e5ec3ec597448161c937606384d1552337444.css

If yes, set 777 permissions on the var directory and all subdirectories

No, the file does not exist. What am I going to do now?

Thanks much ecomlabs.

Start from permissions. Possibly CS-Cart cannot create file or directories

Cs-Cart Customer Care deleted var/cache directory, now its running again.

Thanks much, the issue is solved.

Regards

Saye

Thank you for keeping us updated