Skip to main content
Logo
Explore APIsContact Us
  • Home
  • Match Preview
  • Tournament Preview
  • Virtual Stadium
  • StatsHub
  1. Engagement Tools
  2. Theming Customization

Theming Customization

Theming customization allows you to tailor the appearance of the BET 3-in-1 to meet your specific needs and brand identity. Customization is achieved by applying custom CSS properties to the various HTML elements that make up the widget.

Widget comes with pre-existing styling but can be customized by applying custom CSS properties to its different HTML elements. The widget's custom class selectors are listed below. Note that all custom classes must be nested within the .sr-bb.sr-wl selector class. This ensures that the custom styles only apply to that widget and not to other elements on the page.

For general widget theming (colors, fonts, dark/light mode), see Widget Theming.


#Trigger Button

The main floating button that opens and closes the BET 3-in-1 menu. When a sportId is available, a dynamic modifier class is added in the format srct-3in1-trigger--sport-{sportId}, allowing per-sport styling of the trigger button.

Expanded Table

ClassCustomization options
srct-3in1-triggerbackground-color, border-radius, box-shadow, color
srct-3in1-trigger--sport-{sportId}background-color, border-radius, box-shadow, color

#Container

The wrapper that controls the position of the expanded BET 3-in-1 menu.

Expanded Table

ClassCustomization options
srct-3in1-containerleft, right, bottom

#Product Buttons

The pill buttons displayed when the BET 3-in-1 is expanded. Use the base class to style all product buttons at once, or target individual products using their modifier classes.

Expanded Table

ClassCustomization options
srct-3in1-productbuttonbackground-color, color, border-radius, box-shadow
srct-3in1-productbutton--virtualstadiumbackground-color, color, border-radius, box-shadow
srct-3in1-productbutton--betconciergebackground-color, color, border-radius, box-shadow
srct-3in1-productbutton--statshubbackground-color, color, border-radius, box-shadow

#Product Button Elements

The inner elements of each product button.

Expanded Table

ClassCustomization options
srct-3in1-productbutton__iconcolor
srct-3in1-productbutton__titlefont-size, color, font-weight
srct-3in1-productbutton__descriptionfont-size, color, font-weight

#Product Overlay

The overlay panel that displays the selected product. Includes backdrop, header, and close controls.

Expanded Table

ClassCustomization options
srct-3in1-productoverlay__backdropbackground-color, left, right, bottom
srct-3in1-productoverlay__headerbackground-color, border-bottom
srct-3in1-productoverlay__titlefont-size, color, font-weight
srct-3in1-productoverlay__closecolor, background-color, stroke
srct-3in1-productoverlay__contentborder-radius, box-shadow

#Examples

#Custom Brand Colors

css
.sr-bb.sr-wl .srct-3in1-trigger {
    background-color: #1a73e8;
}

.sr-bb.sr-wl .srct-3in1-productbutton--virtualstadium {
    background-color: #6c5ce7;
}

.sr-bb.sr-wl .srct-3in1-productbutton--betconcierge {
    background-color: #00b894;
}

.sr-bb.sr-wl .srct-3in1-productbutton--statshub {
    background-color: #fdcb6e;
    color: #2d3436;
}

#Overlay Customization

css
.sr-bb.sr-wl .srct-3in1-productoverlay__content {
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.sr-bb.sr-wl .srct-3in1-productoverlay__backdrop {
    background-color: rgba(0, 0, 0, 0.6);
}

.sr-bb.sr-wl .srct-3in1-productoverlay__header {
    background-color: #1a1a2e;
    border-bottom: 1px solid #333;
}

#Per-Sport Trigger Styling

css
.sr-bb.sr-wl .srct-3in1-trigger--sport-1 {
    background-color: #2ecc71;
}

.sr-bb.sr-wl .srct-3in1-trigger--sport-2 {
    background-color: #e67e22;
}

.sr-bb.sr-wl .srct-3in1-trigger--sport-5 {
    background-color: #9b59b6;
}
Last updated about 1 month ago
Is this site helpful?
Widgets, Engagement Tools, BET
OverviewWorld Cup
On this page
  • Trigger Button
  • Container
  • Product Buttons
  • Product Button Elements
  • Product Overlay
  • Examples
  • Custom Brand Colors
  • Overlay Customization
  • Per-Sport Trigger Styling