G
G
Guins2017-05-28 18:46:30
Yii
Guins, 2017-05-28 18:46:30

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
2814e82034024bae9f0c356003c7b878.png
here is the code
NavBar::begin([
'brandLabel' => ' 1.png',
'brandUrl' => Yii::$app->homeUrl,
'options' => [
'class' => 'navbar-inverse navbar-fixed-top',
],
]);

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Timofeev, 2017-05-28
@webinar

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 question

Ask a Question

731 491 924 answers to any question