fbpx

Control Content Visibility on Your Joomla Website with Display Conditions Know More

Welcome, Guest
Username: Password: Remember me

TOPIC: (SOLVED)Compile LESS to CSS error

Compile LESS to CSS error 2 years 2 months ago #8114

  • poselziobro1
  • poselziobro1's Avatar
  • Offline
  • Premium Member
  • Posts: 93
  • Thank you received: 8
  • Karma: 0
Hi
When i try to set Compile LESS to CSS to YES

i get this error

0 expected color value: /........../templates/jd_ohio/less/master.less on line 15
The topic has been locked.

Compile LESS to CSS error 2 years 2 months ago #8122

  • chandandeep
  • chandandeep's Avatar
  • Offline
  • Administrator
  • Posts: 3891
  • Thank you received: 595
  • Karma: 101
Hello,

Please send the site login details on This email address is being protected from spambots. You need JavaScript enabled to view it. with forum link.

Thanks,
Chandan
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.

To know more about products check out the their documentation.
The topic has been locked.

Compile LESS to CSS error 2 years 2 months ago #8129

  • chandandeep
  • chandandeep's Avatar
  • Offline
  • Administrator
  • Posts: 3891
  • Thank you received: 595
  • Karma: 101
Hello,

The problem is solved. Please check.

Thanks,
Chandan
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.

To know more about products check out the their documentation.
Last Edit: 2 years 2 months ago by chandandeep.
The topic has been locked.
The following user(s) said Thank You: poselziobro1

Compile LESS to CSS error 2 years 2 months ago #8130

  • poselziobro1
  • poselziobro1's Avatar
  • Offline
  • Premium Member
  • Posts: 93
  • Thank you received: 8
  • Karma: 0
chandandeep wrote:
Hello,

The problem is solved. Please check.

thank You very very much

what was the problem?
The topic has been locked.

Compile LESS to CSS error 2 years 2 months ago #8132

  • chandandeep
  • chandandeep's Avatar
  • Offline
  • Administrator
  • Posts: 3891
  • Thank you received: 595
  • Karma: 101
Hello,

Undefined variables were creating the problem. You have copied some style JD Shop and save in the JD Ohio custom less file. That is the reason. @secondary_color variable is not working in JD Ohio. So I replaced with @major-color;

Thanks,
Chandan
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.

To know more about products check out the their documentation.
The topic has been locked.
The following user(s) said Thank You: poselziobro1

Compile LESS to CSS error 2 years 2 months ago #8151

  • poselziobro1
  • poselziobro1's Avatar
  • Offline
  • Premium Member
  • Posts: 93
  • Thank you received: 8
  • Karma: 0
But it seems to me that the frontend gets styles from the template.css file and not from the LESS directory
The topic has been locked.

Compile LESS to CSS error 2 years 2 months ago #8183

  • priyasingh
  • priyasingh's Avatar
Hello,

We use .less for Styling but they are converted into .css thus, it shows that styling is being done by .css.
The Browser does not understand .less file it only understands .css

You can go through the following link for better understanding:
https://en.wikipedia.org/wiki/Less_(stylesheet_language)

Thanks,
Priya
The topic has been locked.
Moderators: chandandeep
Time to create page: 0.593 seconds