html - Yii2 Where is the CSS file that permits to edit the style of pages -


i'm new yii2, , spent last 2 hours in finding how change black top menu bar color of yii2. in yii1.1 easy, cannot figure out css file. inspecting element in chrome says file in assets dir, edit file , nothing happens. in folder vendor/yiisoft/bower/bootstrap -> editing css files inside wont change thing.

so, whats going on yii2 change css appearance of page?

many in advance.

the css file inherited bootstrap css files. extension navbar.php uses navbar-default style when initiated. including css file custom styling can linked after boostrap vendor css included in config file:

'components' => [     'assetmanager' => [         'bundles' => [              'yii\bootstrap\bootstrapasset' => [                  'sourcepath' => 'your-path',                  'css' => ['css/bootstrap.css', 'path/to/custom.css']             ],         ],     ], ], 

source: http://www.yiiframework.com/wiki/628/override-eliminate-bootstrap-css-js-for-yii-2-0-widgets/


Comments

Popular posts from this blog

ruby on rails - RuntimeError: Circular dependency detected while autoloading constant - ActiveAdmin.register Role -

c++ - OpenMP unpredictable overhead -

javascript - Wordpress slider, not displayed 100% width -