How can I add an installation shortcut on a website in Chrome using Webflow?

Published on
September 22, 2023

To add an installation shortcut on a website in Chrome using Webflow, you can follow the steps below:

  1. Create a Manifest.json file: The first step is to create a manifest.json file that defines the properties of the shortcut. This file contains information such as the name, description, icons, and launch URL. You can use a code editor or any text editor to create this file.

  2. Configure the manifest.json file: Inside the manifest.json file, you need to specify the properties of the shortcut. Here's an example of what the file could look like:

    ```json
    {
    "name": "My Website",
    "short_name": "Website",
    "description": "Install My Website",
    "start_url": "/",
    "icons": [
    {
    "src": "/path-to-icon/icon.png",
    "sizes": "192x192",
    "type": "image/png"
    }
    ],
    "display": "standalone"
    }
    ```
    Replace /path-to-icon/icon.png with the path to your custom icon for the shortcut.

  3. Upload the manifest.json file: Once you have created and configured the manifest.json file, you need to upload it to your Webflow project. You can do this by going to your project settings, selecting the "Custom Code" tab, and then clicking on "Add File" to upload the manifest.json file.

  4. Add reference to the manifest.json file: To make sure the browser recognizes the manifest.json file, you need to add a reference to it in the <head> section of your Webflow project. You can do this by going to your project settings, selecting the "Custom Code" tab, and then adding the following code inside the "Head Code" field:

    ```html

    \`\`\` Replace `/path-to-manifest/manifest.json` with the path to your uploaded `manifest.json` file.
  5. Test the installation shortcut: After completing the above steps, you can test the installation shortcut by opening your website in Chrome. On the top right corner of the browser, you should see a prompt or an icon indicating that the website can be installed. Clicking on this prompt or icon will give users the option to install your website as a shortcut on their device's home screen.

By following these steps, you can add an installation shortcut on a website in Chrome using Webflow. This allows users to quickly access your website as if it were a native app on their device.

Additional Questions:

  1. How do I create a manifest.json file for a website shortcut using Webflow?
  2. Can I customize the icon for the installation shortcut created using Webflow?
  3. Is it possible to add an installation shortcut on a website using Webflow for browsers other than Chrome?