Note that there are some explanatory texts on larger screens.

plurals
  1. POyiistrap TbNav button styles
    primarykey
    data
    text
    <p>ive been searching how to change the button styles or atleast to leave it to default buttons.. the problem i have now (i dont know why its happening) is that buttons in the TbNav when selected are not looking like they should.. </p> <p>the menu looks like this <a href="http://www.getyiistrap.com/site/widgets#navbar" rel="nofollow">'page'</a></p> <p>but when you pass the cursor over them, they look like if it still were working with the default menu that comes with yii, also when you click on them.. still looking like default.</p> <pre><code>&lt;div id="mainmenu"&gt; &lt;?php $this-&gt;widget('bootstrap.widgets.TbNavBar',array( 'brandLabel'=&gt;TbHtml::b(Yii::app()-&gt;name), 'color'=&gt;TbHtml::NAVBAR_COLOR_INVERSE, 'items'=&gt;array( array( 'class'=&gt;'bootstrap.widgets.TbNav', 'items'=&gt;array( array('label'=&gt;'Home', 'url'=&gt;array('/site/index')), array('label'=&gt;'About', 'url'=&gt;array('/site/page', 'view'=&gt;'about')), array('label'=&gt;'Contact', 'url'=&gt;array('/site/contact')), ), ), array( 'class'=&gt;'bootstrap.widgets.TbNav', 'htmlOptions'=&gt;array('class'=&gt;'pull-right'), 'items'=&gt;array( array('label'=&gt;'Login', 'url'=&gt;array('/site/login'), 'visible'=&gt;Yii::app()-&gt;user-&gt;isGuest), array('label'=&gt;'Logout ('.Yii::app()-&gt;user-&gt;name.')', 'url'=&gt;array('/site/logout'), 'visible'=&gt;!Yii::app()-&gt;user-&gt;isGuest) ), ), ), )); ?&gt; </code></pre> <p></p> <p>i also would like to recieve a hint about how to change the button styles</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload