How can I modify the colour theme of Yii-Booster? I want to make it look according to my client's requirement.
Page 1 of 1
Customizing Yii - Booster Color Theme
#3
Posted 24 January 2013 - 07:52 AM
This may be a very newbie question, sorry.
What should I do with the file I download from http://stylebootstrap.info?
Should I replace the bootstrap.css in extensions/bootstrap/assests/css?
Thanks
German
What should I do with the file I download from http://stylebootstrap.info?
Should I replace the bootstrap.css in extensions/bootstrap/assests/css?
Thanks
German
#4
Posted 01 May 2013 - 04:04 AM
I am also having same problem,
I want to have multiple color themes without changing anything in Yii booster.
I think, there should be way to force Yii booster pic bootstrap from theme directory
Please share if someone already have done that
-Shiv
I want to have multiple color themes without changing anything in Yii booster.
I think, there should be way to force Yii booster pic bootstrap from theme directory
Please share if someone already have done that
-Shiv
#5
Posted 01 May 2013 - 04:17 AM
In my config.php I have this:
That tells YiiBooster to not publish the core css (bootstrap.css).
You can add other lines to it - see the YiiBooster component.
In my theme main layout:
That should take care of that problem.
'bootstrap' => array(
'class' => 'ext.yiibooster.components.Bootstrap',
'coreCss' => false,
),
That tells YiiBooster to not publish the core css (bootstrap.css).
You can add other lines to it - see the YiiBooster component.
In my theme main layout:
<meta charset="utf-8"> <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->theme->baseUrl;?>/css/bootstrap<?php echo (!YII_DEBUG ? ".min" : "") . ".css"; ?>"/> <title><?php echo $this->pageTitle; ?></title>
That should take care of that problem.
"Less noise - more signal"
Share this topic:
Page 1 of 1

Help











