Answer the question
In order to leave comments, you need to log in
How to add custom text to Navbar in Yii2?
Hello! Please tell me how to add your own text/button to Navbar in Yii2 and that it was not hidden in the pull-out menu at low resolution.
Answer the question
In order to leave comments, you need to log in
Good evening.
In the Nav settings set encodeLabels => false, then the html will not be encoded and will be displayed as is.
In order not to hide at low resolution - edit css.
Hiding elements on different screens is css and bootstrap, yii has nothing to do with it. Set the element to be left with dispalay:block !important;
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question