Warning
You are viewing the technical documentation for the Sharetribe Developer Platform. If you are looking for our no-code documentation, see our new help center.

Last updated

How to change the default favicons

This guide describes how to use your own custom favicon and application icons in the Sharetribe Web Template.

Table of Contents

By default, the Sharetribe Web Template uses favicons and application icons generated through Console. You can also use RealFaviconGenerator to generate your own set of favicons, if necessary.

You can upload your original icon to the tool, customize the colors and themes, and download a generated set if icons and an HTML snippet to point to those images.

Generate new favicons

  1. Open https://realfavicongenerator.net/

  2. Upload your original icon image

  3. Configure platform specific icons

    Note: Remember to set the "Theme color" in the Android Chrome section

  4. Configure the paths to use /static/icons/ as the root path of the icons

  5. Generate the icons

  6. Unzip the favicons.zip archive and replace the default icons and files in public/static/icons/ with the new icons

  7. Replace the default HTML snippet in public/index.html with the snippet from the generator.

    Example HTML snippet:

    <!-- Start Favicons from https://realfavicongenerator.net/ -->
    <link
      rel="apple-touch-icon"
      sizes="180x180"
      href="/static/icons/apple-touch-icon.png"
    />
    <link
      rel="icon"
      type="image/png"
      sizes="32x32"
      href="/static/icons/favicon-32x32.png"
    />
    <link
      rel="icon"
      type="image/png"
      sizes="16x16"
      href="/static/icons/favicon-16x16.png"
    />
    <link
      rel="mask-icon"
      href="/static/icons/safari-pinned-tab.svg"
      color="#c0392b"
    />
    <link rel="shortcut icon" href="/static/icons/favicon.ico" />
    <meta
      name="msapplication-config"
      content="/static/icons/browserconfig.xml"
    />
    <meta name="theme-color" content="#c0392b" />
    <!-- End Favicons -->