Tuesday, 18 October 2011

Removing default time from Sharepoint Calendar item.

Hi...
When there are more items on a sharepoint calendar date , 12:00 appears .To get rid of this,
place a content editor webpart with the following code on the page where calendar is residing.

<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>