Skip to main content

Session State Component


The Session State Component will display the current Session State as configured in Session State Settings Component.


Components are imported directly from within iRacing Live Timing. In iRacing Live Timing press F4 to open the Remote Control Tab and then F2 to enter Edit Mode. Click the Import Library button and select from the list the component you want to import. The component will then be imported to your Remote Control Tab in the first available empty space (often below existing components).

For a full list of all available Overlay Components please check out the Overlay Component List

Display Data

  • Show/Hide – Show or hide the Session State Component.

To adjust the format of the Session State Component use the Session State Settings Component

CSS Style Overrides

To customise your overlay we need to override the default CSS code that dictates how an individual component looks, where it is positioned and how it animates etc. In iRacing Live Timing press F3 to open the Configuration Panel, scroll down to find the Style Overrides field and click the 3 dots to open the screen on the left. Copy and paste the code below into the bottom of the Style Overrides window and adjust the values to get the desired effect. Read more information about using Style Overrides here: https://www.sdk-gaming.co.uk/knowledge-base/editing-css-styles/

You can add a coloured background to the Session State Component to dynamically change based on the current Session State:

.overlay>.state-header.show-checkered-flag>.container {
background: url(checkered9x5.png);
background-color: black;
}
.overlay>.state-header.show-white-flag>.container {
background: white;
color: black;
}
.overlay>.state-header.show-yellow-flag>.container {
background: yellow;
color: black;
}
.overlay>.state-header.show-green-flag>.container {
background: green;
color: white;
}
.overlay>.state-header {
    left: 20px;
    top: 20px;
    transform: perspective(1000px) translateZ(0px);
    transform-origin: left top;
}
Was this article helpful?

Related Articles

Leave a Reply

Need Support?

Join our Community Discord Server
Join Discord