Change page and blog icons in news feeds

Hi,

I was wondering if its possible to change the tiny icons representing page and blog icons in news feeds(Ones mainly found on the dash? So for instance, instead of just the small icon of a 'page', important blog updates could get a star?

Thanks

3 answers

1 accepted

Alternatively, just replace the image file with what you want (while keeping the filename as it is)? These icons are likely located in the <confluence-installation>/images/icons folder.

The simplest way is to rename the image files that the stylesheet (confluence/includes/css/icons.css) is using:

.icon-page {
    background: transparent url(../../images/icons/docs_16.gif) no-repeat scroll 0 0;
}
.icon-blog {
    background: transparent url(../../images/icons/blogentry_16.gif) no-repeat scroll 0 0;
}
Save those files somewhere so you have a backup and copy your files to the same path/filename. Confluence will show your images the next time you refresh the page in the browswer.
1 vote
David Simpson Community Champion Jul 18, 2011

@Justin Downing is right. That's the quickest way to get what you want. However, you'll need to remember what you did when you come to upgrade though, as this customisation will likely be reverted.

Another approach would be to override the CSS with a custom stylesheet.

Browse to...

Confluence Admin | Look and Feel | Stylesheet

Click on edit and paste...

.icon-page {
background: transparent url(/path/to/new/page-16.gif) no-repeat scroll 0 0;
}
.icon-blog {
background: transparent url(/path/to/new/blog-16.gif) no-repeat scroll 0 0;
}

This is more likely to survive an upgrade, expecially if the icons are attached to a page that permits anonymous access.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Tuesday in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

378 views 16 9
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you