Hi,
is there a way to define two different logo versions for full screen vs. mobile with Navbar? Here is my code, but only the first logo appears no matter how small the screen is
NavBar::begin ( [ 'brandLabel' => '<img src="'.Yii::$app->request->baseUrl.'/images/logo.png" srcset="'.Yii::$app->request->baseUrl.'/'.Yii::$app->params['iconfile'].' 100w,'. Yii::$app->request->baseUrl.'/images/logo.png" sizes="(mind-width: 1024) 1024px, 100vw">', 'brandUrl' => Yii::$app->homeUrl, 'options' => [ 'class' => 'navbar-default navbar-fixed-top', 'encodeLabels' => true ] ] );
Thanks,
Gabi