Search code examples
twitter-bootstrapcompilationyiilessyii-extensions

How to edit variable and compile .less with Bootstrap in Yii Framework?


I am using the php Framework Yii and I want to use it in combination with the Twitter Bootstrap Framework.

I did exactly the same steps like here: http://www.cniska.net/yii-bootstrap/setup.html for setting it up.

How can I change the default values for all the colors and so on? I changed it in the "variables.less" and it compiled successful even the bootstrap.less and the style.less, but nothing changed.

Sorry that I am such a newbie but could you tell which file I have to change and compile for changing the design?


Solution

  • Assuming your less files are compiling properly, the colors should be changing in the compiled CSS files. At which point, you need to make sure your HTML files link to the newly compiled CSS file.