[VISJSTimeline] Formatting weekends

[VISJSTimeline] Formatting weekends

Forge Component
Published on 2017-04-19 by Jorge Martins
5 votes
Published on 2017-04-19 by Jorge Martins

Hi there,

I am trying to add formatting to the weekends, I had a look at the documentation on Vis.js, which I hope is the correct source and found that they have classes defined, but after reviewing ontrack and the example that is provided, I am unsure how to get the customization to display.  Please see the example that I found on the Vis.js site.

  /* alternating column backgrounds */
  .vis-time-axis .grid.vis-odd {
    background: #f5f5f5;

  /* gray background in weekends, white text color */
  .vis-time-axis .vis-grid.vis-saturday,
  .vis-time-axis .vis-grid.vis-sunday {
    background: gray;
  .vis-time-axis .vis-text.vis-saturday,
  .vis-time-axis .vis-text.vis-sunday {
    color: white;