Loading
Upcoming Mandatory Changes to Public Key Infrastructure (PKI)Read More
Salesforce Enforces New Security Requirements in Summer 2026Read More
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Restore Color for Read-Only Multi-Select Element Images (Managed Package)

          Restore Color for Read-Only Multi-Select Element Images (Managed Package)

          For the managed package runtime, read-only Multi-Select element images render in grayscale. To restore color for these images, create a .css file, save it as a static resource, then reference it in the Custom Lightning Stylesheet File Name property in Omniscript Setup.

          Managed Package app icon This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see Omnistudio Help.

          1. Create a ReadOnlyRestoreColor.css file with this code:
            .omni-read-only [data-omni-input] .slds-img-item_select-container, 
            .omni-read-only [data-omni-input] input[type=checkbox], 
            .omni-read-only [data-omni-input] input[type=radio], 
            .omni-read-only [data-omni-input] input[type=range] {
            	filter: brightness(1.25) grayscale(0) !important;
            }
          2. From Setup, in the Quick Find box, enter static, then click Static Resources.
          3. Click New.
          4. In Name, enter ReadOnlyRestoreColor.
          5. Click Browse, then select the ReadOnlyRestoreColor.css file.
          6. Save your changes.
          7. From the App Launcher, find and select Omnistudio, then click Omniscripts.
          8. In the list of Omniscripts, Find and expand your Omniscript, then click the version.
            The Omniscript opens in the Omniscript Designer.
          9. In the Omniscript Designer, click Setup.
          10. Expand Styling Options.
          11. In Custom Lightning Stylesheet File Name, enter ReadOnlyRestoreColor.
           
          Loading
          Salesforce Help | Article