How to add your text in Navbar in Yii2?

Hello! Please tell me how in Yii2 in the Navbar to add your text/button, and that it was not hidden in the menu when leaving a small resolution.
July 2nd 19 at 17:25
2 answers
July 2nd 19 at 17:27
Good evening.
In the settings Nav install encodeLabels => false, then no html will be encoded and output as is.
Not hiding when a small resolution is to edit CSS.
July 2nd 19 at 17:29
Hide elements on different screens is css and bootstrap, yii nothing to do with. Set of element that must remain dispalay:block !important;

Find more questions by tags YiiMySQLPHP