The imin Platform
2.0.0
2.0.0
  • Introduction to the imin Platform
  • Using the Platform
    • imin's Platform Products
    • Authentication
    • Our Platform Data
      • Understanding Responses
      • Namespaces and Extensions
      • Defensive Data Consumption
      • Mocking the Interface
  • platform products
    • Search
      • imin Events API
        • Events API Reference
        • Virtual & Physical Sessions
        • Concepts
          • EventSeries
          • ScheduledSessions and eventSchedules
          • Activities and Collections
            • Activities
            • Activity Concept Collections
          • Accessibility Support
          • Prices
        • Filters
          • Modes
          • Age Ranges
          • Dates and Times
          • Activities and Concept Collections
          • High Frequency Sessions
      • imin Facilities API
        • Query Parameter Search
          • Mandatory Query Parameters
            • mode=discovery-geo
            • mode=upcoming-slots
          • Optional Query Parameters
        • ByID Search
          • FacilityUse By-ID
          • Slot By-ID
        • FacilityUses and IndividualFacilityUses
        • Slots
        • Facilities Slot Booking
      • imin Places API [BETA]
        • Example Request & Response
    • Firehose
      • Introduction to the Firehose
      • Accessing the Firehose
      • Firehose Usage Policy & Restrictions
      • Firehose and Search
      • Bookable Firehose Feeds
      • Bookable Sellers Feed
      • Attribution Catalog Endpoint
    • Live Timetables
      • Pre-Requisites: Open Data Feeds
      • The Onboarding Process
        • 1. Ensuring your Data Offers the Best User Experience
        • 2. Setting up and Embedding your First Timetable
        • 3. Setting up the Rest of your Timetables
        • 4. Activating Booking via Guest Checkout
      • Features Available Upon Request
      • Styling the Live Timetables
      • FAQs
    • Data Dashboard
  • incorporating book and pay
    • imin Branded Checkout
      • Introduction
      • Setup
        • Information We Require From You
        • Actions You Need to Complete
      • Authenticated Checkout
        • Testing [BETA]
        • 👪Group Booking [BETA]
      • Standalone Checkout
      • Firehose and Checkout [BETA]
        • Loading the Checkout via Firehose
    • imin Booking Platform
      • Customer Account Management
        • Create Customer Account
        • Update Customer Account
        • Get Customer Account
        • Delete Customer Account
        • Example Scenario
        • Payment Card Management
        • Linked Accounts
        • Entitlement
          • Evidence Requests
          • Entitlement Pricing in Search
          • Entitlement Pricing in Checkout
        • Access Pass
        • Webhooks
      • Orders
        • Order History
        • Order (by ID)
        • Cancellations & Refunds
      • Upcoming OrderItems
      • Receipt (by ID)
  • imin and booking systems
    • Seller Onboarding
      • API
  • HINTS & TIPS
    • Get the Best Out of Search
      • Displaying Schedule Information
      • URLs and Offering a Call to Action
      • Searching by Activity
      • Your Search Results and HighFrequencySessions
      • Customer Specific Images
  • Info for Data Publishers
    • Your RPDE Feed & the imin Platform [BETA]
      • Providing Places Data [BETA]
      • Providing Schedule Information [BETA]
Powered by GitBook
On this page
  • The customStyle object
  • The fonts array
  • customStyleForStyledComponents object
  1. platform products
  2. Live Timetables

Styling the Live Timetables

The Live Timetables offer customisable fonts and colours, enabling you to align their appearance with your website's branding for a seamless visitor experience.

The customStyle object

Variable / Field
Field Function
Example value

button.color

Controls the text colour of the day/date selector when it is selected. NB when the day/date selector is not selected, the text colour will be black.

#FF0000

button.backgroundColor

Controls the colour of the day/date selector when it is selected and both of the booking buttons

#008000

hover.color

Controls the text colour of the time/date selector and both booking buttons when you hover over them

#ffff00

button.fontFamily

Controls the font style for the day/date selector and both booking buttons

Lato, sans-serif

filter.fontFamily

Controls the font style for the time and activity filters

Roboto

base.fontFamily

Controls the font style for the text in the timetable rows

Noto Sans Khojki

Example

customStyle: {
  button: {
    color: '#FF0000',
    backgroundColor: '#008000',
    ':hover': {
      color: '#ffff00',
    },
    fontFamily: 'Lato, sans-serif',
  },
  filter: {
    fontFamily: 'Roboto',
  },
  base: {
    fontFamily: 'Noto Sans Khojki',
  },
},

Where the font(s) you are using are not universally accepted fonts, they will need to be used in conjunction with the fonts array below.

The fonts array

Where the font(s) you are using are not universally available standard fonts, you will need to include a an external link to reference the relevant services/repositories being used to source web fonts, e.g. Google Fonts

"Universally accepted fonts" refers to identifying fonts that are widely supported across different operating systems and devices. These fonts are likely to be pre-installed on most computers and browsers, ensuring that your web content appears consistently to all users. They typically include fonts like Arial, Times New Roman, Courier New, Georgia, and Verdana, among others.

Example

fonts: [
  {
    cssSrc: 'https://fonts.googleapis.com/css?family=Roboto:300,400,700:latin',
  },
  {
    cssSrc: 'https://fonts.googleapis.com/css2?family=Noto+Sans+Khojki',
  },
],

Where the font you are using is a universally available standard font, you do not need to use the fonts array.

customStyleForStyledComponents object

By default:

  • Odd rows in the timetable match the background color of the page it's on. For example, if the page background is black, these rows will be black too.

  • Even rows are grey, providing contrast regardless of the page background.

The customStyleForStyledComponents object is handy for pages with non-white backgrounds, allowing you to manually set odd rows to white or any color you prefer, preventing them from blending into the page background. You also have the flexibility to customize colors for both odd and even rows as needed.

Variable / Field
Field Function
Example value

gridRow.odd

Controls the colour of the odd timetable rows

#800080

gridRow.even

Controls the colour of the even timetable rows

#ffc0cb

Example

customStyleForStyledComponents: {
  gridRow: {
    odd: {
      backgroundColor:'#800080',
    },
    even: {
      backgroundColor:'#ffc0cb',
    },
  },
},
PreviousFeatures Available Upon RequestNextFAQs

Last updated 9 months ago