Answer the question
In order to leave comments, you need to log in
Why is favicon not showing in safari?
Generated through this service: https://realfavicongenerator.net/#.WS613FLKNZo
The code itself is placed in the layout at the top of the page
<?php $this->beginPage() ?>
<!DOCTYPE html>
<html lang="<?= Yii::$app->language ?>">
<head>
<!-- Global site tag (gtag.js) - Google Analytics -->
<!-- здесь гугл скрипты-->
<meta charset="<?= Yii::$app->charset ?>">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="yandex-verification" content="751eee776abc55c9"/>
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="/site.webmanifest">
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#ff00d6">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="theme-color" content="#ffffff">
<!-- здесь остальная часть лэйаута-->
Answer the question
In order to leave comments, you need to log in
it turned out that it was a safari bug, now everything is correct
According to this apple support discussion, tabs no longer display icons, try pinning the tab, then its title will disappear and the icon will appear
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question