Loading

How to Change the Color of Unavailable Timeslots on the Classic Dispatcher Console Gantt

Publiceringsdatum: Aug 28, 2026
Beskrivning

On the Classic Dispatcher Console Gantt, unavailable (non-working) timeslots render as a light grey block. On some monitors or under certain display/lighting conditions, this light grey is difficult to distinguish from the surrounding grid, making it hard to see which slots are unavailable at a glance.

Cause:
The unavailable-timeslot shading is a fixed default style with low contrast; there is no admin setting to change its color directly. It can only be adjusted via a CSS override.

Lösning

The CSS class controlling unavailable ("non-working") timeslot cells on the Classic Dispatcher Console Gantt is:

.dhx_marked_timespan.gray_section

By default this renders as background: rgba(226, 231, 238, 0.55).

To increase contrast, add an override for this class to your org's custom CSS static resource used by the Dispatcher Console, for example:

.dhx_marked_timespan.gray_section {
  background: rgba(120, 120, 120, 0.8) !important;
}

Adjust the RGBA values to the color/opacity that provides the best visibility for your team's displays.

Note: This requires your org to already have a custom CSS static resource wired into the Dispatcher Console. If the unavailable timeslot color still doesn't update after applying this rule, check for a more specific/later-loading CSS rule overriding it, or a browser cache issue — hard-refresh after deploying the static resource change.

Ytterligare resurser

Customize the Colors of the Salesforce Field Service Gantt Chart
https://help.salesforce.com/s/articleView?id=000383194&type=1 

Knowledge-artikelnummer

005391004

 
Laddar
Salesforce Help | Article