Customize icons for documents in the document listing

Be Careful
Based on CSS that might change in the future!

Changing the icon used for a certain document-type in the document listing has been simplified in 2.11.00.

By default an extra documentype-specific value will be added to the class attribute of the <span> element that contains the 'default' icon class. This way you can easily customize the icon used in a project specific css skin.

Example:

Lets say that your project contains a document type with this namespace:

myproject:newsitem

To override the icon, all you need to do is to define following css class:

.myproject-newsitem{
  background: url("images/newsitem.png") no-repeat 5px 5px;
}

Browse Space

- Pages
- News
- Labels
- Attachments
- Bookmarks
- Mail
- Advanced
- Activity

Explore Confluence

- Popular Labels
- Notation Guide

Your Account

Log In

 

Other Features

Add Content

- Add Comment