Citrix StoreFront - Icons are missing from the Home Page Navigation Bar

book

Article ID: CTX697235

calendar_today

Updated On:

Description

Users may observe the following symptoms:

  • The Home icon is missing.
  • The Apps icon is missing.
  • The Desktops icon is missing.
  • The Search icon is missing.
  • The Settings icon is missing.

image.png

A spinning wheel may also be displayed on the logon page.

image.png

Despite these issues, users can still access the store, enumerate resources, and launch applications and desktops.

Cause

A customized Content Security Policy introduced during security hardening was preventing StoreFront from applying inline styles required by the web interface. As a result, the navigation icons were not displayed correctly.

Restoring the appropriate CSP configuration allows the required styles to be applied.

Resolution

Troubleshooting

  • Open the browser's Developer Tools.
  • Select the Console tab.
  • Check for errors related to the Content Security Policy (CSP), particularly errors indicating that inline styles have been blocked.

Example:

Review the web.config file located in the affected StoreFront web store folder.

For example:

C:\inetpub\wwwroot\Citrix\MySiteWeb

Where MySite is the name of the store.

 

Resolution:

  • Back up the web.config file before making any changes.
  • Open the file and locate the following section: <location path="Default.htm">
  • Within the <customHeaders> section, locate the Content-Security-Policy header.
  • The default configuration is: <add name="Content-Security-Policy" value="frame-ancestors 'none'" />
  • If the header has been modified, compare the configuration with the default configuration for the affected StoreFront version. If the modified policy is responsible for blocking inline styles, restore the appropriate default value.
  • Check the following locations in the same web.config file and apply the same correction where applicable:
    • <location path="Default.htm">
    • <location path="clients/HTML5Client/src/SessionWindow.html">
    • <location path="receiver.html">
  • Save the changes.
  • Restart IIS from an elevated command prompt: IISRESET
  • Reopen the StoreFront web page and verify that the navigation icons are displayed correctly.

Note: If StoreFront is deployed in a server group, ensure that the configuration is consistent across the relevant servers. Review any security hardening requirements before restoring the default CSP configuration.

Issue/Introduction

This article describes how to troubleshoot and resolve an issue in Citrix StoreFront where navigation icons are missing from the StoreFront web interface after custom header changes have been applied to the web.config file.

Additional Information

Similar issue can occur if SVG format is not allowed: https://support.citrix.com/external/article/CTX694757/citrix-storefront-icons-for-home-apps-d.html