Skip to content

Instantly share code, notes, and snippets.

View jamesnotjim's full-sized avatar

James Martin jamesnotjim

View GitHub Profile
@jamesnotjim
jamesnotjim / viewTitle.html
Created August 30, 2016 20:28
In SharePoint 2013, replace a generic page title with the the document.title, which includes the view name
<script type="text/javascript">
// Replace default page title with document.title, which is based on view name
document.getElementById("DeltaPlaceHolderPageTitleInTitleArea").innerHTML = document.title;
</script>
@jamesnotjim
jamesnotjim / VimeoFashionVictim.css
Last active August 22, 2016 15:46
Some CSS to improve the look of the Vimeo Fashion Victim portfolio template
@import 'https://fonts.googleapis.com/css?family=Open+Sans';
h1 a, h2.video_title, p.first {
font-family: 'Open Sans', sans-serif;
text-transform: capitalize;
font-style: normal;
}
@jamesnotjim
jamesnotjim / maxwidth.css
Created August 19, 2016 15:58
SharePoint Max-Width
<style type="text/css">
#contentRow {
max-width: 1400px !important;
}
</style>