Hiding Title in an Announcement Webpart

A bit of a cleanup on the page, but did have a request to remove the Title at the top of the Announcement Webpart. This is how I did that.

Created the Script in my Site Assets –> Scripts, Called HideTitle.js

Entered following text in it

[code]

<script type=”text/javascript”>

document.write(‘<style>TR.ms-viewheadertr { DISPLAY: none }</style>’);

</script>

[/code]

 

Added a content Editor Webpart which called above script by name

Leave a Reply

%d bloggers like this: