How to Change the Favicon in Cockpit Print

  • 0

The favicon is the small icon that appears in browser tabs and bookmarks for your Cockpit installation. This guide explains how to customize the favicon to match your branding.

Changing the Favicon

  1. Prepare Your Favicon
    • Create a 16x16 or 32x32 pixel icon image (.ico, .png, or .svg format)
    • For best results, create multiple sizes (16x16, 32x32, 48x48) and use an .ico file
    • Online favicon generators can help create the proper file format
  2. Access Your Server Files
    • Connect to your server via FTP or your hosting control panel
    • Navigate to your Cockpit installation directory
  3. Replace the Existing Favicon
    • You can place it in the /assets/img/ directory
  4. Clear Browser Cache
    • Browsers often cache favicon files aggressively
    • You may need to clear your browser cache to see the changes
    • Try opening your site in a private/incognito window to verify the change

Important Notes

  • Make sure your new favicon has the same name as the file you're replacing
  • Set proper file permissions (typically 644) for the favicon file
  • Favicon changes may require a cache clear or browser restart to become visible
  • If the change doesn't appear, verify that you've replaced the correct file

By customizing your favicon, you can enhance your Cockpit installation's professional appearance and strengthen your brand identity in users' browsers.


Was this answer helpful?

« Back