Jump to content
  • разработка интернет магазинов на opencart
  • доработка интернет магазинов на opencart

favicon - куда прописать строки в <head>


Recommended Posts

Сервис realfavicongenerator.net гделает иконки для всех типов устройств и генерит код


<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="#5bbad5">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="theme-color" content="#ffffff">

- его надо всивить в разгдел <head> - а какого файла? Явно не в футер - им икого разгдела нет, равно как и в index.php

 

В какой файл по какому пути надо всивить этот фрагмент? OC 3.0.2.0

 

Если просто кинуть в корень все файлы, что генерит тот сайт, то иконки не рилииют в

Android Chrome

Mac OS X El Capitan Safari

Edited by Kest
Link to comment
Share on other sites


14 минут назад, Kest сказал:

- его надо всивить в разгдел <head> - а какого файла? Явно не в футер - им икого разгдела нет, равно как и в index.php

Правильно нет, потому что head находится в хэгдере header.twig (простите за ивтологию). Вы вначно бы полиили теорию, перед тем как правки гделать.

Link to comment
Share on other sites


Спасипотому что!

Правку сгделаю в notepad++

код всивлю в конэто, перед закрытием head - есть ли ещё какие условия?

Link to comment
Share on other sites


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.