Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save theeventscalendar/ee5b444092d07ce52aa8 to your computer and use it in GitHub Desktop.
Save theeventscalendar/ee5b444092d07ce52aa8 to your computer and use it in GitHub Desktop.
Sample CSS tweaks for Events Calendar PRO's Advanced List Widget
/** Place a border around the entire widget */
.tribe-events-adv-list-widget {
border: 2px solid black;
}
/** Change the widget title colour and size */
.tribe-events-adv-list-widget h2.widget-title {
color: purple;
font-size: 30px;
}
/** Set of rules that change the colour of the date markers from dark grey to red */
.tribe-events-adv-list-widget .list-date {
background: red;
}
/** This rule works with the previous one, but specifically targets the day of the week */
.tribe-events-adv-list-widget .list-date .list-dayname {
color: red;
}
/** This rule underlines and changes other event title properties */
.tribe-events-adv-list-widget h2.entry-title a {
display: inline-block;
text-decoration: underline;
transform: rotate( -2deg );
}
/** This rule changes the colour of the event date/time information */
.tribe-events-adv-list-widget div.duration {
color: saddlebrown;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment