Post by Pooleyy » Thu Apr 13, 2017 9:55 pm

I'm trying to add apple touch icons to my website, so it displays better on iphones/ipads

I'm running Journal2
I've added the below code into common/header.tpl

Code: Select all

<link rel="apple-touch-icon" sizes="120x120" href="catalog/view/theme/journal2/apple-touch-icon-120x120-precomposed.png" /> <link rel="apple-touch-icon" sizes="152x152" href="catalog/view/theme/journal2/apple-touch-icon-152x152-precomposed.png" />
But it's not working... Images are in the correct place, correctly named and I've tried lots of different paths.

Any ideas why they aren't working?

Thanks

New member

Posts

Joined
Thu Oct 08, 2015 9:25 pm

Post by viethemes » Fri Apr 14, 2017 2:14 pm

Could you provide your site URL so we can take a look at the problem closer?

http://www.viethemes.com - OpenCart turtorials, news, tips and stricks, extension

Our extensions:
Visual Theme Editor - Powerful tool for customizing style of any theme visually
Live Theme Editor - Customize layout, colors, backgrounds, fonts of the default theme
Theme Animation - Animation Editor for any theme

Extra Positions PRO, Custom JavaScript, Custom CSS and others


User avatar
Active Member

Posts

Joined
Thu Jan 08, 2015 12:17 pm


Post by Pooleyy » Fri Apr 14, 2017 6:35 pm

viethemes wrote:
Fri Apr 14, 2017 2:14 pm
Could you provide your site URL so we can take a look at the problem closer?
Appreciate the reply
The URL is: https://www.part-box.com

Let me know what you think please!

Thanks
Sam

New member

Posts

Joined
Thu Oct 08, 2015 9:25 pm

Post by artcore » Fri Apr 14, 2017 8:18 pm

I think you're missing the manifest xml
Generate all here easily: http://realfavicongenerator.net/
And add the links to your header.tpl
I usually drop the favicons in the root of the shop, eg in public_html

Attn: I no longer provide OpenCart extensions, nor future support - this includes forum posts.
Reason: OpenCart version 3+ ;D

Thanks!


User avatar
Active Member

Posts

Joined
Tue Jul 09, 2013 4:13 am
Location - The Netherlands

Post by viethemes » Sat Apr 15, 2017 4:14 pm

Appreciate the reply
The URL is: https://www.part-box.com

Let me know what you think please!

Thanks
Sam
I have taken a look at your site but I did not see your code. Have you gone to admin > Extensions > Modifications > click on the Refresh button after adding that code?

http://www.viethemes.com - OpenCart turtorials, news, tips and stricks, extension

Our extensions:
Visual Theme Editor - Powerful tool for customizing style of any theme visually
Live Theme Editor - Customize layout, colors, backgrounds, fonts of the default theme
Theme Animation - Animation Editor for any theme

Extra Positions PRO, Custom JavaScript, Custom CSS and others


User avatar
Active Member

Posts

Joined
Thu Jan 08, 2015 12:17 pm


Post by Pooleyy » Wed Apr 19, 2017 10:48 pm

artcore wrote:
Fri Apr 14, 2017 8:18 pm
I think you're missing the manifest xml
Generate all here easily: http://realfavicongenerator.net/
And add the links to your header.tpl
I usually drop the favicons in the root of the shop, eg in public_html
You're spot on! I was missing the manifest, all works great now! Thanks a lot :D

New member

Posts

Joined
Thu Oct 08, 2015 9:25 pm

Post by viethemes » Wed Apr 19, 2017 11:09 pm

Pooleyy wrote:
Wed Apr 19, 2017 10:48 pm
You're spot on! I was missing the manifest, all works great now! Thanks a lot :D
I see that the manifest file does not solve this problem because currently iOS Safari does not support it. You can see it here https://caniuse.com/#feat=web-app-manifest. You should follow official guide from Apple https://developer.apple.com/library/con ... tions.html

http://www.viethemes.com - OpenCart turtorials, news, tips and stricks, extension

Our extensions:
Visual Theme Editor - Powerful tool for customizing style of any theme visually
Live Theme Editor - Customize layout, colors, backgrounds, fonts of the default theme
Theme Animation - Animation Editor for any theme

Extra Positions PRO, Custom JavaScript, Custom CSS and others


User avatar
Active Member

Posts

Joined
Thu Jan 08, 2015 12:17 pm

Who is online

Users browsing this forum: No registered users and 40 guests