Create a gist now

Instantly share code, notes, and snippets.

Hide the by-line on SharePoint blog sites
<style type="text/css">
/* Hide by-line author and time */
ul li div div span span .ms-subtleLink {
visibility: hidden;
display: none;
/* Uncomment to Hide entire by-line
ul li .ms-textSmall span {
visibility: hidden;
display: none;

By default, SharePoint 2013 and O365 blogs have a byline at the bottom of each post that looks like this:

by LastName, FirstName at Time

This is redundant in the case of individual blogs, except for the time, which is not always desirable. I is also useful in situations where each contributor directly contributes his or her own posts. However, in situations where someone else will be posting on behalf of the blogger, there's no easy way, sort of sharing credentials, to make the byline show up as the intended author. A quick workaround is to simply hide it, which is what this code does.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment