---
title: "Quick Tip: Adding custom doctype icons to Umbraco 7 — Hack Make Do"
description: "I wanted to share a quick tip with you all. As with most of the Umbraco sites I build I use custom icons for document types such as a newspaper icon for a news article and so on."
url: https://hackmakedo.com/blog/quick-tip-adding-custom-doctype-icons-to-umbraco-7/
---

# Quick Tip: Adding custom doctype icons to Umbraco 7

1 December 2013

- [JavaScript and TypeScript](https://hackmakedo.com/blog/topic/javascript/)
- [Umbraco](https://hackmakedo.com/blog/topic/umbraco/)

I wanted to share a quick tip with you all. As with most of the Umbraco sites I build I use custom icons for document types such as a newspaper icon for a news article and so on.

Umbraco 7 has a great selection of about 300 icons courtesy of Helveticons. This is more than enough for most people but I wanted to experiment and explore with the idea of adding my own custom icons to the dialog in Umbraco 7.

After quickly asking Per Ploug on how I could add icons to the list I got to work with creating a quick package to add over 2000+ icons which is way too many but was more of a experiment on performance to see how well Umbraco would cope and the answer is surprisingly fast in comparison to the 200 limit or so that Umbraco 6 and previous versions have.

So I give you Belle Icon Pack package that provides over 2000 icons from the webfont icon from WebHostingHub <https://web.archive.org/web/20131204005549/http://our.umbraco.org:80/projects/backoffice-extensions/belle-icon-pack>

So now you have the package installer I will quickly share with you how it’s done, it’s painfully simple. Have a web icon font either by creating your own or using a library.

Create a folder called **MyIcons** in **App_Plugins** in this folder place your icon font files here and then create a CSS file in the same folder and ensure each icon in the font uses the CSS class prefix of **.icon-** but I recommend you prefix it with something unique ensuring it starts with **.icon-** still. So for example **.icon-myfont-** so you avoid any conflict withy the default Umbraco icon sets.

The final piece of the puzzle to get Umbraco to register this CSS file and pick up our icon font in the dialog is to create a package.manifest file which is a JSON file.

In this file I need to have the following

```javascript
{
	"css": [
		"~/App_Plugins/MyIcons/Icons.css"
    ]
}
```

With all these parts in place we now have access to our custom fonts in the icon picker dialog for our data types in Umbraco.

![Belle Icon Pack for Umbraco](https://hackmakedo.com/images/blog/quick-tip-adding-custom-doctype-icons-to-umbraco-7/belle-icon-pack-umbraco.png)

I hope this helps some of you out there.

Cheers Warren

## Keep reading

21 May 2024

### [How to create an Umbraco v14 (Belissima) SVG Icon Pack with Node.js](https://hackmakedo.com/blog/how-to-create-an-umbraco-v14-belissima-svg-icon-pack-with-node-js/)

Build an SVG icon pack for the Umbraco 14+ backoffice, using a Node.js script to register hundreds of icons for you instead of by hand.

[Umbraco](https://hackmakedo.com/blog/topic/umbraco/) · [JavaScript and TypeScript](https://hackmakedo.com/blog/topic/javascript/) · [Bellissima](https://hackmakedo.com/blog/topic/bellissima/)

17 September 2014

### [Quick Snippet: Toggle Tree Navigation in Umbraco Backoffice using JavaScript](https://hackmakedo.com/blog/quick-snippet-toggle-tree-navigation-in-umbraco-backoffice-using-javascript/)

A quick JavaScript snippet that toggles the tree navigation in the Umbraco 7 backoffice with its AngularJS services, to give a property editor more room.

[JavaScript and TypeScript](https://hackmakedo.com/blog/topic/javascript/) · [Umbraco](https://hackmakedo.com/blog/topic/umbraco/)

Need a hand with Umbraco Bellissima? I'm available as a freelancer or contractor.

[Get in touch](https://hackmakedo.com/contact/)
