Virtual Stadium offers extensive customization options to match your brand identity and user experience requirements. You can customize the visual appearance through CSS styling, replace default icons with your own branded assets, and even customize text translations.
This guide covers all available customization options for the Virtual Stadium widget.
# Table of Contents
# CSS Styling
Custom styling offers customers the flexibility to tailor the aesthetics of the Virtual Stadium widget to their precise requirements. This is accomplished by applying custom CSS properties to the widget's underlying HTML components. All customization takes place within the specified scope of the .sr-bb.sr-virtualStadium selector class, enabling customers to effectively alter the default visual presentation.
The srct-vs classes are designated styling classes for the Virtual Stadium. It's recommended to use the CSS properties listed below with these classes. While you can use other CSS properties as well, it's not advised. Using spacing properties like radius | top | padding | margin might cause issues with future updates to your setup.
# Announcement Styling
Class Name Description srct-vs-announcementWrapper for an announcement banner or message. srct-vs-announcement-iconIcon displayed alongside the announcement text. srct-vs-announcement-close-iconIcon for closing or dismissing the announcement.
# Bet Insights Styling
Class Name Description srct-vs-bet-insightsMain container for the Bet Insights section. srct-vs-bet-insights-buttonButton that triggers a scroll or navigation event. srct-vs-bet-insights__counterDisplays a numeric counter (e.g., how many insights are shown). srct-vs-bet-insights__market-nameDisplays the name of the current market. srct-vs-bet-insights__bubble-newIndicator for newly added or updated bet insights. srct-vs-bet-insights__new-flash-bet-badgeBadge indicating newly introduced Flash Bet opportunities. srct-vs-bet-insights__new-flash-bet-badge-loadingLoading state styling for the new Flash Bet badge. srct-vs-bet-insights__outcomeContainer for a single outcome element. srct-vs-bet-insights__outcome-valueDisplays the value of the outcome. srct-vs-bet-insights__outcome-selectedHighlights or styles a selected outcome. srct-vs-bet-insights__outcome-disabledStyles an outcome that is disabled or unavailable. srct-vs-bet-insights__collapse-buttonButton to collapse the Bet Insights UI. srct-vs-bet-insights__collapse-button-iconIcon associated with the collapse button. srct-vs-bet-insights__expand-buttonButton to expand the Bet Insights UI. srct-vs-bet-insights__expand-button-countDisplays the number of items to show. srct-vs-bet-insights__expand-button-iconIcon associated with the expand button.
# Bet Slip
Class Name Description srct-vs-betslipMain container for the bet slip. srct-vs-betslip__wrapperWrapper around the core bet slip content. srct-vs-betslip__bet-builderContainer for bet builder elements or features. srct-vs-betslip__headerHeader area displaying bet slip title or summary. srct-vs-betslip__select-buttonButton to select or activate a bet slip. srct-vs-betslip__shared-indicatorIndicates that the bet slip is shared. srct-vs-betslip__select-iconIcon displayed on the select button. srct-vs-betslip__sectionDivider or section area within the bet slip. srct-vs-betslip__copiedStyling for a "copied" or confirmation state (e.g., when a code or link is copied). srct-vs-betslip__sport-iconSport-specific icon displayed in the bet slip. srct-vs-betslip__copyButton or element for copying the bet slip link or code. srct-vs-betslip__copy-buttonThe actual button used to trigger the copy action. srct-vs-betslip__copy-button-ctaAdditional CTA or label for the copy button. srct-vs-betslip__marketContainer for a specific market within the bet slip. srct-vs-betslip__market-matchDisplays match or event details for this market. srct-vs-betslip__market-outcomeRepresents an outcome within the market. srct-vs-betslip__market-nameName or label of the market (e.g., "Totals"). srct-vs-betslip__market-circleVisual circle indicator or icon related to the market. srct-vs-betslip__market-moreLink or button to expand additional market options. srct-vs-betslip__market-lineIndicates a line or threshold for this market. srct-vs-betslip__footerFooter area of the bet slip. srct-vs-betslip__footer-titleTitle text in the footer (e.g., "Total Odds"). srct-vs-betslip__footer-valueDisplays the numeric value (e.g., total odds or stake). srct-vs-betslip__footer-currencyDisplays the currency symbol or code in the footer.
# Bet Slip Share
Class Name Description srct-vs-betslip-share__headerHeader area for the bet slip share component. srct-vs-betslip-share__buttonGeneric button for actions within the share interface. srct-vs-betslip-share__composerComposer area specifically for bet slip sharing. srct-vs-betslip-share__messageMessage or text area accompanying the bet slip share. srct-vs-betslip-share__header-titleTitle displayed in the share header. srct-vs-betslip-share__new-bet-buttonButton to create or start a new bet. srct-vs-betslip-share__new-bet-button:disabledDisabled state for the new bet button. srct-vs-betslip-share__header-iconIcon displayed in the share header. srct-vs-betslip-share__post-buttonButton to post the bet slip to a channel. srct-vs-betslip-share__pill-buttonPills or toggle buttons within the share interface. srct-vs-betslip-share__pill-button-selectedSelected or active state for pill buttons. srct-vs-betslip-share__container-backgroundBackground styling for the overall share container.
# Channel Navigation
Class Name Description srct-vs-channel-navigationWrapper for the channel navigation panel. srct-vs-channel-navigation__expand-buttonButton to expand or collapse the channel navigation. srct-vs-channel-navigation__active-matchesSection displaying matches currently active within a channel. srct-vs-channel-navigation__listContainer for the channel navigation list. srct-vs-channel-navigation__list-channel-nameStyles the channel name item within the list. srct-vs-channel-navigation__list-chat-iconIcon indicating a chat is associated with the channel. srct-vs-channel-navigation__list-user-countDisplays how many users are currently in a specific channel. srct-vs-channel-navigation__list-chat-selectItem or button to select/open the channel chat. srct-vs-channel-navigation__list-dividerDivider or separator between channel list items.
# Color Styling
Class Name Description srct-vs-color__infoStyles elements with an "info" color. srct-vs-color__warningStyles elements with a "warning" color. srct-vs-color__errorStyles elements with an "error" color.
# Composer
Class Name Description srct-vs-composer__share-bet-slip-buttonButton for sharing a bet slip within the composer. srct-vs-composer__input-rowWrapper for input elements in the composer. srct-vs-composer__inputDefault styling for the composer's text input. srct-vs-composer__input:disabledDisabled state for the composer's input. srct-vs-composer__input-validation-messageValidation error or warning message for the input. srct-vs-composer__send-buttonButton to send or submit composer content. srct-vs-composer__send-button:disabledDisabled state for the send button. srct-vs-composer__channel-tag-highlighterHighlights channel tags (e.g., #channel) within the input. srct-vs-composer__suggestion-listContainer for all suggestion items. srct-vs-composer-suggestion__list-active-itemStyles the currently active or hovered suggestion. srct-vs-composer-suggestion__dividerDivider between suggestion items. srct-vs-composer-suggestion__nameStyles the name text for each suggestion.
# Countdown Styling
Class Name Description srct-vs-countdown__color-infoApplies "info" styling to countdown elements. srct-vs-countdown__color-warningApplies "warning" styling to countdown elements. srct-vs-countdown__color-errorApplies "error" styling to countdown elements.
# Drawer Styling
Class Name Description srct-vs-drawerMain container for the drawer UI. srct-vs-drawer__buttonGeneric button class for actions within the drawer. srct-vs-drawer__open-buttonButton that opens or expands the drawer. srct-vs-drawer__close-buttonButton that closes or collapses the drawer. srct-vs-drawer__entryIndividual entry or item within the drawer.
# Flash Bet Styling
Class Name Description srct-vs-flash-betMain container for the Flash Bet section. srct-vs-flash-bet__headerHeader area containing the title and other Flash Bet info. srct-vs-flash-bet__titleDisplays the title text within the Flash Bet section. srct-vs-flash-bet__marketContainer for market-related content. srct-vs-flash-bet__market-nameDisplays the name of the current market. srct-vs-flash-bet__outcomesContainer for all outcome elements under the selected market. srct-vs-flash-bet__outcomeIndividual outcome element. srct-vs-flash-bet__outcome-valueDisplays the odds or numeric value of an outcome. srct-vs-flash-bet__outcome-nameDisplays the descriptive name (e.g., team or event) of an outcome. srct-vs-flash-bet__collapse-iconIcon indicating that the section can be collapsed. srct-vs-flash-bet__expand-buttonButton to expand the Flash Bet UI or additional content. srct-vs-flash-bet__expand-iconIcon indicating that the section can be expanded. srct-vs-flash-bet__countdownTimer or countdown display for time-sensitive bets. srct-vs-flash-bet__countdown-backgroundBackground or overlay behind the countdown element.
# General Styling
Class Name Description srct-vs-chatContainer or wrapper for the chat component. srct-vs-alertStyles for alert messages or notifications. srct-vs-switchUsed for toggling settings or features within the UI. srct-vs-avatarDisplays user avatars, typically in chat or profile sections. srct-vs-vip-badgeStyles the VIP badge icon or label for special users. srct-vs-peninsulaGeneric class for a "peninsula" style container or feature. srct-vs-containerGeneric container class for layout structure. srct-vs-floating-buttonStyles a floating action button or CTA in the interface. srct-vs-contact-supportButton or link to contact customer support. srct-vs-scroll-to-bottom-buttonButton to scroll a container (e.g., a chat log) to its bottom.
# Live Data
Class Name Description srct-vs-live-data-bgBackground or overlay used when live data is displayed. srct-vs-live-data-bg-overlayAdditional overlay or style on top of the live data background.
# Message
Class Name Description srct-vs-messageWrapper for a single chat or timeline message. srct-vs-message__my-messageStyles the user's own messages differently from others. srct-vs-message__timelineSpecial styling for timeline events or updates. srct-vs-message__vipIndicates a VIP user's message. srct-vs-message__emptyStyling for an empty message state. srct-vs-message__reportedStyling for a message that has been reported. srct-vs-message__headerHeader area of the message, may contain user info or a timestamp. srct-vs-message-header__event-titleTitle text within the message header. srct-vs-message-header__event-subtitleSubtitle text within the message header. srct-vs-message__contentContainer for the main message text. srct-vs-message__avatarAvatar or profile image associated with the message sender.
# Navigation Styling
Class Name Description srct-vs-navigationMain container for the navigation bar or menu. srct-vs-navigation__headerHeader area of the navigation, which may contain a title or branding. srct-vs-navigation__buttonNavigation button for toggling menus or performing actions. srct-vs-navigation__closeButton or icon for closing a navigation panel. srct-vs-navigation__backButton or icon for navigating back (e.g., to a previous screen). srct-vs-navigation__live-data-toggleToggle for switching live data on/off. srct-vs-navigation__tournament-nameDisplays the name of a tournament or league in the navigation.
# Progress Bar Styling
Class Name Description srct-vs-progress-barContainer for the progress bar. srct-vs-progress-bar__backgroundBackground or track behind the progress bar's fill.
# Quote
Class Name Description srct-vs-quoteContainer for a quoted message. srct-vs-quote__vipStyles a VIP-specific quote (e.g., color or icon). srct-vs-quote__iconIcon placed next to the quoted content. srct-vs-quote__postThe post content being quoted. srct-vs-quote__message-headerHeader area for the quoted message. srct-vs-quote__messageActual text of the quoted message.
# Reactions
Class Name Description srct-vs-reactionsContainer for reaction icons or emojis. srct-vs-reactions__selected-reactionIndicates which reaction the user has selected. srct-vs-reactions__reaction-iconIcon or emoji representing a specific reaction. srct-vs-reactions__custom-reactionStyles a custom reaction icon or emoji.
# Report
Class Name Description srct-vs-report__containerMain wrapper for the "report" dialog or modal. srct-vs-report__iconIcon indicating a report or complaint. srct-vs-report__titleTitle text for the report section. srct-vs-report__contentMain content area of the report interface. srct-vs-report__quoteContainer for quoted text (if any) in a report. srct-vs-report__quote-messageStyles the quoted message content. srct-vs-report__cancel-buttonButton to cancel or close the report interface. srct-vs-report__buttonButton to submit the report. srct-vs-report__textAdditional text or instructions for the user.
# Tag
Class Name Description srct-vs-channel-tagStyles a channel tag (e.g., #channel) mention. srct-vs-user-tagStyles a user tag (e.g., @username) mention.
# User Profile
Class Name Description srct-vs-user-profileMain container for the user profile card or dialog. srct-vs-user-profile__cardStyles the user's profile card, including the avatar or stats. srct-vs-user-profile__statsContainer for user statistics. srct-vs-user-profile__statIndividual stat (e.g., number of posts, achievements, etc.). srct-vs-user-profile__stat-valueNumeric or text value of a user stat.
# Icon Customization
Icons in Virtual Stadium can be replaced with custom icons by providing branding property when integrating widget to a site. All general icons, match event icons such as goal, offside... and sport icons can be customized by inserting icon path (svg or png) as a value.
Default icons can be changed by providing branding prop to widget integration.
Svg files must have id="icon" property on <svg> element.
# Default Icons
ts
SIR ( "addWidget" , ".sr-widget-1" , "virtualstadium" , {
branding : {
namespaces : {
virtualStadium : {
icons : {
send : { // Icon ID from upper table
icon : "path_to_your_image_file" ,
label : "label_here" // 'alt' tag value
},
close : {
icon : "path_to_your_image_file" ,
label : "label_here"
},
},
}
},
},
... restProps ,
} ) ;
ID Icon send betshare suspended close close_in_circle warning error report quote copy_bet show_more arrow_right arrow_down spinner menu live_feed lmt_compact close_negative toggle virtual_stadium_button betslip_empty chat_empty navigate
# Sport Icons
Sport icons can be changed by providing branding prop to widget integration.
Sport Icons are used in Bet slip based on the provided sportId.
js
SIR ( 'addWidget' , '.sr-widget-1' , 'virtualstadium' , {
branding : {
sports : {
icons : {
1 : 'path_to_your_image_file' , // key is a ID from upper table
2 : 'path_to_your_image_file' ,
default : 'path_to_your_image_file' // fallback icon for all sports
}
}
},
... restProps
} ) ;
Sport ID Icon Soccer 1 Basketball 2 Baseball 3 Ice Hockey 4 Tennis 5 Handball 6 Floorball 7 Golf 9 Boxing 10 Rugby 12 Aussie Rules 13 Bandy 15 Football 16 Snooker 19 Table Tennis 20 Cricket 21 Darts 22 Volleyball 23 Field Hockey 24 Pool 25 Waterpolo 26 Curling 28 Futsal 29 Badminton 31 Bowls 32 Chess 33 Beach Volley 34 Squash 37 Rink Hockey 38 Lacrosse 39 Formula 1 40 Beach Soccer 60 Pesapallo 61 Esport 107 Counter Strike 109 League Of Legends 110 Dota 2 111 Starcraft 112 Hearthstone 113 MMA 117 Call Of Duty 118 Smite 119 Overwatch 121 Rainbow Six 125 Rocket League 128 King Of Glory 134 Gaelic Football 135 Gaelic Hurling 136 Esport Soccer 137 Kabaddi 138 Esport Basketball 153 Basketball 3x3 155 Beach Handball 157 Arena Of Valor 158 Valorant 194 Esport Ice Hockey 195
# Event Icons
Event icons can be changed by providing branding prop to widget integration.
Event icons are used when the new event is being rendered.
ts
SIR ( 'addWidget' , '.sr-widget-1' , 'virtualstadium' , {
branding : {
events : {
icons : {
goal : {
// Icon ID from upper table
icon : 'path_to_your_image_file' ,
label : 'label_here'
},
offside : {
icon : 'path_to_your_image_file' ,
label : 'label_here'
}
}
}
},
... restProps
} ) ;
Event ID Icon Goal goal Yellow Card yellowCard Red Card redCard Corner corner Free Kick freeKick Throw In throwIn Offside offside Penalty Kick penaltyKick Penalty Shootout penaltyShootout Shot on Target shotOnTarget 1 Point Scored onePtScored 2 Points Scored twoPtScored 3 Points Scored threePtScored Player Ejected playerEjected Timeout timeout Game Won gameWon Set Point Won setPointWon Break Point Won breakPointWon Soccer - default defaultSoccer Basketball - default defaultBasketball Tennis - default defaultTennis Default default