A
A
Alexander Ampleev2018-06-27 09:53:19
safari
Alexander Ampleev, 2018-06-27 09:53:19

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">

<!-- здесь остальная часть лэйаута-->

what could be the problem? maybe someone has come across something similar? I also noticed that the favicon disappears over time (initially it was). Safari version 11.1.1 (13605.2.8) macOS High Sierra

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Ampleev, 2018-08-22
@Ampleev

it turned out that it was a safari bug, now everything is correct

S
sinistra17, 2018-06-27
@sinistra17

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 question

Ask a Question

731 491 924 answers to any question