less in article Joomla! ?

Feel free to talk about everything related to our Joomla Products
Rate this topic: Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.
GK User
Tue Jun 09, 2015 6:46 pm
Hi!
Is there a way to in Joomla! (in GAVERN FRAMEWORK) in articles or modules Castom HTML use less parameters?
For example:
Code: Select all
<div style = "color: @secondary_color">


Best Regards!
User avatar
Gold Boarder

GK User
Tue Jun 09, 2015 7:39 pm
No, less only compiles through css files. I also doesn't know any technique to use less variables inside html files (inline css).
User avatar
Moderator

GK User
Tue Jun 09, 2015 7:55 pm
Hi Cyberek.
OK.
I create style in override.less

. secondary_color {color: @secondary_color"}

and use:
<div css="secondary_color">

Thank for you answer.
Best Regards!
User avatar
Gold Boarder

GK User
Wed Jun 10, 2015 1:44 pm
Yep, that does the trick ;).
Is there anything else I can help you with regarding this topic?
User avatar
Moderator

GK User
Thu Jun 11, 2015 6:37 pm
Yes it's end.
Thanku You.
User avatar
Gold Boarder

GK User
Thu Jun 11, 2015 7:11 pm
Ok :).
User avatar
Moderator

GK User
Thu Jun 11, 2015 7:12 pm
:))
User avatar
Gold Boarder


cron