Support Forum

Please note that this forum is only available to you in read only mode. In order to contribute to this conversation you will need to renew your subscription.

variables.less VS. variables-custom.less

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

When I look in the themes folder each theme has a variables.less and variables-custom.less

What's the difference between the two? my variables-custom.less already has some variables defined. the other one is blank.
  • Robert's Avatar
  • Robert
  • 3 Month Basic
  • 35 posts
  • Karma: 0
The administrator has disabled public write access.
Hi,

variables-custom.less are the values saved by theme magic, so you should not edit this file as it will be reset when using theme magic.
You can add custom variables to variables.less and use the other 2 blank files.

I'll add a link when the article Paul mentioned in your other post is up.

Regards,

Rob
  • Robert Went's Avatar
  • Robert Went
  • Moderator
  • 2210 posts
  • 196 Thanks
  • Karma: 90
The administrator has disabled public write access.
Great, looking forward to the link.
  • Robert's Avatar
  • Robert
  • 3 Month Basic
  • 35 posts
  • Karma: 0
The administrator has disabled public write access.
Yep I've made a note to let you know

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Fresh off the press - added to the blog 2mins ago :)

www.joomlabamboo.com/blog/how-to-joomla/editing-t3-templates-using-custom-less

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
The following user(s) said Thank You: Robert

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Happy Campers