Custom CSS: Difference between revisions

Jump to navigation Jump to search
Andrian (talk | contribs)
Andrian (talk | contribs)
Line 58: Line 58:
  .bookingpagecentshide {display:inline;}
  .bookingpagecentshide {display:inline;}


=== Mark certain days of the week ===
=== Mark certain fields in the calendar selector===
Example 1: Change the background color for Saturday  
You can highlight both the headings of the calendar (i.e. Mon, Tue, Wed, Thu, Fri, Sat, Sun) and all the dates that fall on a given day of the week (i.e. all 4 or 5 dates that fall on a Saturday).


.daySat {color:#c44a2f !important;}
Headings = .dayMon (dayTue, dayWed, dayThu, dayFri, daySat, daySun)


Use daySun, dayMon, dayTue, dayeWed, dayThu, dayFri to change the background color for other days.
Dates = .daymon (daytue, dayewed, daythu, dayfri, daysat, daysun)


Example 2: Change the background color for Saturday
Example 1: Set the font color for the weekday heading of Monday ('Mon')


  .daysat {background-color:#ccc !important;}
  .dayMon{color:#c44a2f !important;}


exchange daysat by daysun, daymon, daytue, dayewed, daythu, dayfri to exchange the backgound color for other days.
Example 2: Set the background color for the weekday heading of Monday ('Mon')


Example 3: Add a border arround Saturday
.dayMon{background-color:#c44a2f !important;}
 
Example 3: Set the font color for all the dates that fall on a Saturday
 
.daysat {color:#c44a2f !important;}
 
Example 4: Add a border around all the dates that fall on a Sunday


  .daysat {border:1px solid #999999 !important;}
  .daysat {border:1px solid #999999 !important;}
exchange daysat by daysun, daymon, daytue, dayewed, daythu, dayfri to exchange the backgound color for other days.


=== Add a border around the selected dates===
=== Add a border around the selected dates===