Answer the question
In order to leave comments, you need to log in
Why is the red logo displayed in the NavBar?
I've been studying YII2 for a couple of weeks, I ran into such a problem
here is the code
NavBar::begin([
'brandLabel' => ' ',
'brandUrl' => Yii::$app->homeUrl,
'options' => [
'class' => 'navbar-inverse navbar-fixed-top',
],
]);
Answer the question
In order to leave comments, you need to log in
Well, because there is no picture on the path that you set. Yii has nothing to do with it. 90% sure. But only your code is clumsily inserted and there is no link to the result. html what turned out as a result?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question