Tuesday, September 30, 2014

Update Default SharePoint 2013 Icon Colors

Posted in [SharePoint], [Technical] By Kyle Wright @ 11/13/2013

This post is going to look at updating the out-of-the-box SharePoint 2013 icons.  This comes in to play if you are creating a branded site. 

I implemented a fully custom branded SharePoint 2013 project for a client recently.  I was really happy with how it turned out until I went to any page with a standard SharePoint icon:

image image

While it is minor to have some blue icons spattered around your site, I am a bit of a perfectionist and didn’t want that to stand out like that.  So, I thought about recreating the images in Photoshop, but I quickly realized that was going to be way more work than I wanted to do.  Next, I looked to see if I could do it with some CSS, since most of these icons are generated via sprites:

image

  

I could have swapped out quite a few of the images that were incorrect in my design by overriding some of the CSS to use a different image section of the sprite, but that wasn’t going to get me there either due to the “add an app” image not having any other choices, and definitely not one that matched my maroon design.

I realized that other themes had images that matched that theme, not just the standard blue, so I hunted down the sprite for a themed site:

image

Ok, so now we are on to something, but when you look at the URL for that image, you see /_catalogs/theme/Themed/FE756639/spcommon-B35BB0A9.themedpng.  This led me to think that SharePoint is dynamically generating these sprites based on the theme and if I generated my own theme, I could get images with whatever color I wanted.  So, using the SharePoint Color Palette Tool, I generated my own theme and the resulting sprite looks much more in touch with my overall design:

image

 

All you do is get your colors set the way you want using the color pallet tool, save the results and import the .spfont file into the Themes library on your site.  I would recommend importing this into the root site, that way you can use it on all your sub sites by just setting the inheritance.

image

So, now my site looks much more consistent.

image image

 

For more information on C5 Insight or this blog entry, please Contact Us.

,

Comments

Got something to say? Join the discussion »
    Posted by Dodge on 1/14/2014
    One thing I struggle to do is put alt tags to those images. From what I can make out it drags the images from one big image and I am never sure how to put alternative text on them. any ideas?

leave a reply

 [Quick Submit with Ctrl+Enter]

Remember my details
Notify me of followup comments via e-mail

C5_Insight

About C5 Insight

We are a Microsoft Gold Certified partner focusing on SharePoint, Microsoft Dynamics CRM and Salesforce.com.  Learn more about us by visiting our website.

Search

We Wrote the Bible on Microsoft SharePoint and Dynamics CRMBook-Microsoft Dynamics CRM 2011 and SharePoint 2010 Bible

Tags

Maximize

Recent Comments

Maximize

Blog Roll

Maximize

Disclaimer

The information herein may be used solely at your own risk.  No warranty is made by the author or by C5 Insight, Inc.

The opinons expressed herein are those of the individual authors and do not necessarily represent C5 Insight, Inc in any way.

Copyright 2011-2013 by C5 Insight