Sharing the experience search

Search sharing-the-experience.blogspot.com

Monday, April 25, 2011

Calendar view : how to remove the time

Probably a lots people out there know that the calendar view shows the time (12AM) for an item even  the interval column is "Date only"


I guess you, reader, want to know how to easy remove the time from the calendar view?

Here is a solution:

1. Open the calendar page with SharePoint Designer.

2. Find the following line of code:


<asp:Content ContentPlaceHolderId="PlaceHolderMain" runat="server">

3. Add the line of style: 
<style>.ms-cal-monthitem B {display:none}</style> 
 4.  Save it.



Here is the result:
P.S. An alternative way of adding the style:
Instead of using SPD - just edit the page and place a content editor web part, add the style tag into the source editor and save it.

No comments:

Post a Comment