Tuesday, June 11, 2013

Removing the time from your SharePoint Calendar

Recently, I created a calendar but did not want the out-of-the-box time stamp (12:00) to show by each of my calendar's entries.

Here's what I found to remove this:
  1. Add a content editor webpart to your page 
  2. Enter the following code:
     <style>
.ms-acal-item {
BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; BACKGROUND: none transparent scroll repeat 0% 0%; BORDER-TOP: 0px; BORDER-RIGHT: 0px
}
.ms-acal-time {
DISPLAY: none
}
.ms-acal-sdiv {
MARGIN-LEFT: -58px
}
.ms-acal-sdiv A {
POSITION: absolute; WIDTH: 100%; LEFT: 0px
}
.ms-acal-title {
HEIGHT: 35px; PADDING-TOP: 0px
}
< /style>


Voila! The timestamp is gone.

Source: http://happysharepointing.blogspot.com/2011/10/removing-default-time-from-sharepoint.html


No comments:

Post a Comment

Note: Only a member of this blog may post a comment.