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.

Using @primary and @secondary for colours in css

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

Is it possible to use something like @primary and @secondary for colours in custom.css? That way, if the theme colours are changed the colours in custom.css will change accordingly. It would save having to change them all manually!
  • brucebutton's Avatar
  • brucebutton
  • 12 Month basic
  • 59 posts
  • Karma: 0
The administrator has disabled public write access.
You would to create or add to a LESS file instead of using custom.css

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Thanks, Paul, I will look into that.

Bruce
  • brucebutton's Avatar
  • brucebutton
  • 12 Month basic
  • 59 posts
  • Karma: 0
The administrator has disabled public write access.
For more information on working with T3 and a custom LESS theme check out this started doc

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.
Thanks, Paul, that's a very helpful document.

Bruce
  • brucebutton's Avatar
  • brucebutton
  • 12 Month basic
  • 59 posts
  • Karma: 0
The administrator has disabled public write access.
No problem

Good luck with it

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.

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

Happy Campers