Yii Framework Forum: Customizing Yii - Booster Color Theme - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Customizing Yii - Booster Color Theme Rate Topic: -----

#1 User is offline   futureking 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 12
  • Joined: 20-September 12

Posted 18 January 2013 - 11:33 AM

How can I modify the colour theme of Yii-Booster? I want to make it look according to my client's requirement.
PHP Scripts, Wordpress Themes & Plugins
www.abhinavsoftware.com
1

#2 User is offline   jacmoe 

  • Elite Member
  • Yii
  • Group: Moderators
  • Posts: 2,601
  • Joined: 10-October 10
  • Location:Denmark

Posted 18 January 2013 - 11:49 AM

http://stylebootstrap.info/

http://www.lavishbootstrap.com/#
"Less noise - more signal"
0

#3 User is offline   germanliu 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 45
  • Joined: 26-September 12

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
0

#4 User is offline   shiv 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 46
  • Joined: 05-November 11
  • Location:India

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
0

#5 User is offline   jacmoe 

  • Elite Member
  • Yii
  • Group: Moderators
  • Posts: 2,601
  • Joined: 10-October 10
  • Location:Denmark

Posted 01 May 2013 - 04:17 AM

In my config.php I have this:
    	'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"
1

#6 User is offline   jacmoe 

  • Elite Member
  • Yii
  • Group: Moderators
  • Posts: 2,601
  • Joined: 10-October 10
  • Location:Denmark

Posted 01 May 2013 - 04:18 AM

/* moved from General Discussion */
"Less noise - more signal"
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users