ICS Calendar

ICS Calendar
  • Features
    • ICS Calendar Pro
    • Feature Comparison
    • Sample Calendars
    • Preview Your Calendar
    • More WordPress Plugins
  • Help
    • User Guide
      • Quick Start Guide
      • Getting Started
      • General WordPress Settings
      • ICS Calendar Settings
      • Shortcode Overview
      • Shortcode Reference
      • FAQs and Tips
      • CSS Guide
      • Developer Resources
      • GDPR
    • Pro Documentation
      • Calendar Builder
      • ICS Events
      • Manual Calendar Setup
      • Admin Utilities and Settings
      • Customizer
      • Block Editor
      • Parameters Reference
    • Shortcode Builder
    • Support Request Form
    • Translation Suggestions
    • Changelogs
      • ICS Calendar
      • ICS Calendar Pro
  • Blog
  • Buy Now
  • Cart
  • My Account
Search
More...

User Guide

  • Quick Start Guide
  • Getting Started
  • General WordPress Settings
  • ICS Calendar Settings
  • Shortcode Overview
  • Shortcode Reference
  • FAQs and Tips
  • CSS Guide
  • Developer Resources
  • GDPR

On This Page

  • Variable Scope
  • Colors
  • Selector Properties
  • ICS Calendar Pro

More Help

  • User Guide
  • Shortcode Builder
  • Pro Documentation
  • Support Request Form
  • Translation Suggestions

ICS Calendar CSS Variables

ICS Calendar and ICS Calendar Pro use a set of CSS variables to define colors and various other properties used within the plugin.

You can change the values of these variables in your own theme CSS to modify some aspects of the calendar appearance without having to use the inspector to find specific CSS selectors.

Variable Scope

CSS variables are given specific scope. Commonly :root { } is used, for the variable to apply universally.

ICS Calendar does not use :root { }. In order to avoid inadvertently affecting styles outside of ICS Calendar’s own output, the scope for ICS Calendar CSS variables is .ics-calendar, .r34ics_lightbox { }. All variable overrides should be placed inside the curly braces with this scope. For example:

<code>.ics-calendar, .r34ics_lightbox {
	--r34ics--color--black: #000000;
	--r34ics--color--darkgray: #555555;
}</code>

Custom CSS can go in your site theme’s CSS file, or in the Customizer under Additional CSS.

The tables below describe the available CSS variables, their purpose, and their default values.

ICS Calendar Pro users: You can use the Appearance tab of the settings page to modify your color palette, including selecting from a set of predefined alternate palettes, rather than writing custom CSS.

Colors

VariablePurposeDefault
--r34ics--color--ics-redICS Calendar branding#ee0055
--r34ics--color--ics-purpleICS Calendar Pro branding#3300bb
--r34ics--color--ics-blueICS Events branding#0099ff
--r34ics--color--whiteNeutral palette color#ffffff
--r34ics--color--whitesmokeNeutral palette color#f0f3f6
--r34ics--color--gainsboroNeutral palette color#d9dcdf
--r34ics--color--darkgrayNeutral palette color1#a3a8ac
--r34ics--color--grayNeutral palette color#70787f
--r34ics--color--dimgrayNeutral palette color#60686f
--r34ics--color--blackNeutral palette color#10181f
--r34ics--color--darkorangeAdmin status messagesdarkorange
--r34ics--color--dodgerblueAdmin status messagesdodgerblue
--r34ics--color--forestgreenAdmin status messagesforestgreen
--r34ics--color--goldReserved for future usegold
--r34ics--color--lemonchiffonReserved for future uselemonchiffon
--r34ics--color--limegreenReserved for future uselimegreen
--r34ics--color--orangeredAdmin status messagesorangered
--r34ics--color--trans03Transparent gray for borders and backgroundsrgba(105,105,105,0.03)
--r34ics--color--trans05Transparent gray for borders and backgroundsrgba(105,105,105,0.05)
--r34ics--color--trans10Transparent gray for borders and backgroundsrgba(105,105,105,0.1)
--r34ics--color--trans20Transparent gray for borders and backgroundsrgba(105,105,105,0.2)
--r34ics--color--trans30Transparent gray for borders and backgroundsrgba(105,105,105,0.3)
--r34ics--color--trans40Transparent gray for borders and backgroundsrgba(105,105,105,0.4)
--r34ics--color--trans50Transparent gray for borders and backgroundsrgba(105,105,105,0.5)
--r34ics--color--trans60Transparent gray for borders and backgroundsrgba(105,105,105,0.6)
--r34ics--color--trans70Transparent gray for borders and backgroundsrgba(105,105,105,0.7)
--r34ics--color--trans80Transparent gray for borders and backgroundsrgba(105,105,105,0.8)
--r34ics--color--trans90Transparent gray for borders and backgroundsrgba(105,105,105,0.9)

Selector Properties

Introduced in ICS Calendar 11.5.15 (and ICS Calendar Pro 5.10.9), these variables apply to specific selectors, allowing you to customize your calendar appearance to a greater extent than simply changing the values of the color variables. Most of these variables reference other color variables, or occasionally consist of a color variable plus dimensions.

VariablePurposeDefault
--r34ics--element--basic--date--backgroundBasic view date backgroundvar(--r34ics--color--trans10)
--r34ics--element--basic--date--borderBasic view date border design2px solid var(--r34ics--element--basic--date--border-color)
--r34ics--element--basic--date--border-colorBasic view date border colorvar(--r34ics--color--trans40)
--r34ics--element--basic--date--colorBasic view date text colorvar(--r34ics--color--black)
--r34ics--element--button--backgroundButton backgroundvar(--r34ics--color--gray)
--r34ics--element--button--background-hoverButton background hover statevar(--r34ics--color--darkgray)
--r34ics--element--button--borderButton border design1px solid var(--r34ics--element--button--border-color)
--r34ics--element--button--border-colorButton border colorvar(--r34ics--color--gray)
--r34ics--element--button--border-color-hoverButton border color hover statevar(--r34ics--color--darkgray)
--r34ics--element--button--border-radiusButton border radius4px
--r34ics--element--button--colorButton text colorvar(--r34ics--color--white)
--r34ics--element--button--color-hoverButton text color hover statevar(--r34ics--color--white)
--r34ics--element--descloc-feed-label--border-bottomFeed label styling in event description hover box: bottom border design1px solid var(--r34ics--element--descloc-feed-label--border-bottom-color)
--r34ics--element--descloc-feed-label--border-bottom-colorFeed label styling in event description hover box: bottom border colorvar(--r34ics--color--trans30)
--r34ics--element--descloc-feed-label--border-leftFeed label styling in event description hover box: left border design6px solid var(--r34ics--element--descloc-feed-label--border-left-color)
--r34ics--element--descloc-feed-label--border-left-colorFeed label styling in event description hover box: left border colorvar(--r34ics--color--trans30)
--r34ics--element--descloc-feed-label-before--backgroundFeed label styling in event description hover box: background on :before pseudoelementvar(--r34ics--color--trans30)
--r34ics--element--events--accent--backgroundEvent styling: accent background colorvar(--r34ics--color--gray)
--r34ics--element--events--accent--border-colorEvent styling: accent border colorvar(--r34ics--color--gray)
--r34ics--element--events--accent--colorEvent styling: accent text colorvar(--r34ics--color--white)
--r34ics--element--events--colorEvent styling: text colorvar(--r34ics--color--black)
--r34ics--element--events--color--linkEvent styling: link color (inherit from theme)inherit
--r34ics--element--events--color--link-hoverEvent styling: link hover state color (inherit from theme)inherit
--r34ics--element--hover-block--backgroundEvent details hover block: background colorvar(--r34ics--color--white)
--r34ics--element--hover-block--borderEvent details hover block: border design1px solid var(--r34ics--element--hover-block--border-color)
--r34ics--element--hover-block--border-colorEvent details hover block: border colorvar(--r34ics--color--darkgray)
--r34ics--element--hover-block--box-shadowEvent details hover block: shadow2px 2px 5px var(--r34ics--color--trans20)
--r34ics--element--lightbox--backgroundEvent details lightbox: background colorvar(--r34ics--color--trans50)
--r34ics--element--lightbox-close--backgroundEvent details lightbox: close button background colorvar(--r34ics--color--black)
--r34ics--element--lightbox-close--box-shadowEvent details lightbox: close button shadow3px 3px 9px var(--r34ics--color--trans50)
--r34ics--element--lightbox-close--colorEvent details lightbox: close button X colorvar(--r34ics--color--white)
--r34ics--element--lightbox-content--backgroundEvent details lightbox: content background colorvar(--r34ics--color--white)
--r34ics--element--lightbox-content--box-shadowEvent details lightbox: content shadow3px 3px 9px var(--r34ics--color--trans50)
--r34ics--element--lightbox-content--colorEvent details lightbox: content text colorvar(--r34ics--color--black)
--r34ics--element--month--backgroundMonth (table) view: background colorvar(--r34ics--color--white)
--r34ics--element--month--day--backgroundMonth (table) view: day background colorvar(--r34ics--color--whitesmoke)
--r34ics--element--month--day--colorMonth (table) view: day text colorvar(--r34ics--color--black)
--r34ics--element--month--events-li--border-bottomMonth (table) view: day events list divider design1px solid var(--r34ics--element--month--events-li--border-bottom-color)
--r34ics--element--month--events-li--border-bottom-colorMonth (table) view: day events list divider colorvar(--r34ics--color--gainsboro)
--r34ics--element--month-label--colorMonth (table) view: month heading label color (inherit from theme)inherit
--r34ics--element--month--off--backgroundMonth (table) view: background for days outside current monthvar(--r34ics--color--whitesmoke)
--r34ics--element--month--off--colorMonth (table) view: text color for days outside current monthvar(--r34ics--color--gray)
--r34ics--element--month--th--backgroundMonth (table) view: header backgroundvar(--r34ics--color--gainsboro)
--r34ics--element--month--th--colorMonth (table) view: header text colorvar(--r34ics--color--black)
--r34ics--element--month--th-td--borderMonth (table) view: grid border design1px solid var(--r34ics--element--month--th-td--border-color)
--r34ics--element--month--th-td--border-colorMonth (table) view: grid border colorvar(--r34ics--color--gainsboro)
--r34ics--element--month--today-day--backgroundMonth (table) view: “today” day header backgroundvar(--r34ics--color--gray)
--r34ics--element--month--today-day--colorMonth (table) view: “today” day header text colorvar(--r34ics--color--white)
--r34ics--element--print--backgroundPrint background colorvar(--r34ics--color--white)
--r34ics--element--print--borderPrint grid border design1px solid var(--r34ics--element--print--border-color)
--r34ics--element--print--border-colorPrint grid border colorvar(--r34ics--color--gainsboro)
--r34ics--element--print--colorPrint text colorvar(--r34ics--color--black)
--r34ics--element--select--backgroundMonth dropdown selector backgroundvar(--r34ics--color--whitesmoke)
--r34ics--element--select--colorMonth dropdown selector text colorvar(--r34ics--color--black)

ICS Calendar Pro

These variables are used in ICS Calendar Pro only.

VariablePurposeDefault
--r34ics--image--max-widthMaximum width of images in event descriptions360px
--r34ics--widget--max-widthMaximum width of Widget view360px

ICS Calendar Pro: Full View

These variables apply to Full view in ICS Calendar Pro only. The scope for these variables is .ics-calendar .fc { }.

VariablePurposeDefault
--r34ics--fc--font--sizeText size13px
--r34ics--fc--fc-timegrid-slot--height-ratioScaling ratio for height of time slots in day and week tabs0.6
--r34ics--fc--fc-timegrid-slot--hour-weightFont weight for time labels in day and week tabsbold
--fc-bg-event-colorText color for events outside rangevar(--r34ics--color--gray)
--fc-bg-event-opacityOpacity for events outside range0.3
--fc-border-colorGrid border colorvar(--r34ics--element--month--th-td--border-color)
--fc-button-active-bg-colorTab/button background color active statevar(--r34ics--color--dimgray)
--fc-button-active-border-colorTab/button border color active statevar(--r34ics--color--dimgray)
--fc-button-bg-colorTab/button background colorvar(--r34ics--element--button--background)
--fc-button-border-colorTab/button border colorvar(--r34ics--element--button--border-color)
--fc-button-hover-bg-colorTab/button background color hover statevar(--r34ics--element--button--background-hover)
--fc-button-hover-border-colorTab/button border color hover statevar(--r34ics--element--button--border-color-hover)
--fc-button-text-colorTab/button text colorvar(--r34ics--element--button--color)
--fc-event-bg-colorEvent background colorvar(--r34ics--element--events--accent--background)
--fc-event-border-colorEvent border colorvar(--r34ics--element--events--accent--border-color)
--fc-event-resizer-dot-border-width(Not applicable)1px
--fc-event-resizer-dot-total-width(Not applicable)8px
--fc-event-resizer-thickness(Not applicable)8px
--fc-event-selected-overlay-colorBackground color for selected event overlayvar(--r34ics--color--trans30)
--fc-event-text-colorEvent text colorvar(--r34ics--element--events--accent--color)
--fc-highlight-colorEvent highlight colorrgba(188,232,241,.3)
--fc-list-event-hover-bg-colorEvent hover background colorvar(--r34ics--color--trans30)
--fc-more-link-bg-colorMore link background colorvar(--r34ics--element--events--accent--background)
--fc-more-link-text-colorMore link text colorvar(--r34ics--element--events--accent--color)
--fc-neutral-bg-colorNeutral background colorvar(--r34ics--element--month--off--background)
--fc-neutral-text-colorNeutral text colorvar(--r34ics--element--month--off--color)
--fc-non-business-colorBackground color for non-business daysvar(--r34ics--element--month--off--background)
--fc-now-indicator-color“Now” indicator color for day/week tabsvar(--r34ics--color--ics-red)
--fc-page-bg-colorOverall page background colorvar(--r34ics--element--month--background)
--fc-small-font-sizeSmall font sizevar(--r34ics--fc--font--size)
--fc-today-bg-colorToday background colorvar(--r34ics--element--month--background)

  1. Yes, darkgray is lighter than gray. We’re just using standard HTML color names and that’s how they’re defined. ↩︎

Room 34 Creative Services, LLC

  • Facebook
  • YouTube
  • Bandcamp
  • Room 34 Creative Services, LLC
  • Minneapolis, Minnesota 55406 USA
  • info@icscalendar.com
  • More WordPress Plugins
  • Privacy Policy
  • Terms & Conditions

Copyright © 2026 Room 34 Creative Services, LLC. All rights reserved.
"ICS Calendar", "ICS Calendar Pro", "ICS Events", the ICS Calendar logo and ICS icon are trademarks of Room 34 Creative Services, LLC.
All screenshots are accurate at the time they are taken; features and layouts are subject to change without notice.

https://icscalendar.com/ics-calendar-css-variables