Yii::app()->theme = 'ThemeName'; The above code can be set anywhere in your Yii Application to change the current Theme.