WordPress Calendar Embed
ICS Calendar
STEP 1
Install ICS Calendar
STEP 2:
Add Css to apperance customiser
Notes:
Edit the PHP template, to change text display for booked events. This example is for all day.
Script & CSS
Original Css:
Revised Css to remove dtails from the ICS events, Css added to appearence customiser
.ics-calendar-month-grid .events .title {
display: block;
font-size: 100% !important;
line-height: 1.5em;
}
.ics-calendar-month-grid .events .title {
display: none;
font-size: 100% !important;
line-height: 1.5em;
}
Changing All Day to Booked or anything thats relevant
Original Css:
.ics-calendar-month-grid .events .all-day-indicator {
display: block;
font-size: 80%;
font-weight: 400;
line-height: 1.5em;
text-transform: uppercase;
}
The .all-day-inicator Class can be edited within the plugin files.
This can be found in
ics-calendar\templates\calendar-month.php on line 201
# Original #
## Revised ###
Further Calendar Month View Styling
Further styling provide a nicer boxed block.
.ics-calendar-month-grid .events .all-day-indicator {
display: block;
font-size: 100%;
font-weight: 400;
line-height: 6;
text-transform: uppercase;
padding-left: 32%;
background-color: #d5d7d588;
}
.ics-calendar-month-grid {
background-color: var(--r34ics--color--white);
border-collapse: collapse;
line-height: 1.5em;
margin: .5em 0;
table-layout: fixed;
width: 100%;
border-radius: 20px 20px 30px 30px;
}
.ics-calendar-color-key {
clear: both;
display: none;
font-size: 85%;
margin: 0 0 1.5em;
}
Removing the Calendars to display above
This removes the colour key when feeding 2 ICS feeds.
.ics-calendar-color-key-item label
Specificity: (0,1,1)
{
margin: 0;
display: none;
}
Short Code Variables
Shortcode Parameters
Note:
Editing plugin files are a short fix when the plugin updates, the change needs to be made again, Ensure your have the css, removing the details from the ICS feed.