Jackout
(Ireneusz Hanulak)
November 26, 2012, 12:11pm
1
Hi all,
as in topic description. When I am creating TbNavbar I can’t see elements of drop down menu because font has the same color as background.
Does anybody know whre/how I can change it ?
Many thanks for any suggestions,
here is my code:
<?php $this->widget('bootstrap.widgets.TbNavbar',
array(
'type'=>'inverse',
'brand'=>$this->pageTitle,
'brandUrl'=>'#',
'collapse'=>true,
'items'=>array(
array(
'class'=>'bootstrap.widgets.TbMenu',
'items'=>array(
array('label'=>'Dostawcy', 'url'=>array('/dostawcy')),
array('label'=>'Dokumenty', 'url'=>array('/dokumenty')),
array('label'=>'Słowniki', 'url'=>'#','items'=>array(
array('label'=>'Grupy towarów', 'url'=>array('/sl_grupy_tow')),
)
),
array('label'=>'Login', 'url'=>array('/site/login'), 'visible'=>Yii::app()->user->isGuest),
array('label'=>'Logout ('.Yii::app()->user->name.')', 'url'=>array('/site/logout'), 'visible'=>!Yii::app()->user->isGuest)
),
)
)
)
); ?>
Jackout:
Hi all,
as in topic description. When I am creating TbNavbar I can’t see elements of drop down menu because font has the same color as background.
Does anybody know whre/how I can change it ?
Many thanks for any suggestions,
here is my code:
<?php $this->widget('bootstrap.widgets.TbNavbar',
array(
'type'=>'inverse',
'brand'=>$this->pageTitle,
'brandUrl'=>'#',
'collapse'=>true,
'items'=>array(
array(
'class'=>'bootstrap.widgets.TbMenu',
'items'=>array(
array('label'=>'Dostawcy', 'url'=>array('/dostawcy')),
array('label'=>'Dokumenty', 'url'=>array('/dokumenty')),
array('label'=>'Słowniki', 'url'=>'#','items'=>array(
array('label'=>'Grupy towarów', 'url'=>array('/sl_grupy_tow')),
)
),
array('label'=>'Login', 'url'=>array('/site/login'), 'visible'=>Yii::app()->user->isGuest),
array('label'=>'Logout ('.Yii::app()->user->name.')', 'url'=>array('/site/logout'), 'visible'=>!Yii::app()->user->isGuest)
),
)
)
)
); ?>
I had the same problem and by element inspection in Chrome, I found the background was set to the wrong color, and the background gradient was also white - so I changed them in the bootstrap.css file found under assets
Use the element inspector, and check those values - you can change the values on the fly