Help Centre

Support > Designing and Building Your Website > Designing Your Website

Adding an iOS home screen icon for your website

 

On iOS devices using the Safari browser, you are able to add a shortcut to your home screen to any site online. By default, these shortcuts will display as a screenshot of the website. This article will explain how to set an icon to your website so that when it is saved onto iOS home screens this will display instead.

Creating and uploading your icon

The image for the shortcut must be 150x150 pixels in size. This will allow it to used across all iOS devices - those with regular displays and retina displays too!

Additionally, in order for the icon to work correctly, it must follow the following specifications:

  • Must be saved in .png format
  • Must be titled apple-touch-icon

Once you have created your icon, you can then upload it into the files area within your Create account (not the images area).

To upload the icon:

  1. Log into your Create account
  2. Click 'Content' from the top menu
  3. Click 'Files' from the left-hand menu
  4. Click the 'Add File' button
  5. Follow the steps to upload your image

Adding the icon to your site

Once you've uploaded the icon, you will need to add a small piece of code to the Custom <HEAD> of the page you would like to use the icon for - if you want to use it for any page that a shortcut is created for, you'll need to paste the code into each page individually. The code is below:

<link rel="apple-touch-icon" href="/sitefiles/12345/678/90/apple-touch-icon.png">

The informational following the href is the file path for the file you just uploaded. This must be the file unique to your site.

To get the file path for the icon that you've uploaded, simply click the 'link' icon on the 'Files' section. 

This will then displayed the URL for the icon.

Copy and paste this file path exactly as it appears into the code below.

<link rel="apple-touch-icon" href="INSERT_FILE_PATH_HERE">

To then add this code to your custom <HEAD>:

  1. Click 'Content' from the top menu
  2. Click the options icon beside the page you would like to add the icon for
  3. Click the 'Meta Info' tab
  4. Paste the code into the 'Custom <HEAD>' field
  5. Save changes and repeat as necessary
  6. You will need to publish your site for the changes to apply

Testing the icon

It can take several hours for the icon to update once your site is published. When you're ready to test, simply follow the steps below on your iOS-enabled device (such as an iPad or iPhone):

  1. On your iOS device, open your Safari browser and go to the page on your site that you would like to make a shortcut for
  2. Click the share icon in the browser
                           
  3. Select the option 'Add to Home Screen'                                               
  4. On the 'Add to Home' page you should be able to see the icon you uploaded on the left

 

If you do not see the icon you uploaded, please double-check that you have followed the steps above, including formatting the file as required.

If you have any questions about setting up an icon for your iOS devices, your Account Manager will be happy to help.