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

This widget could not be displayed.

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.

This widget could not be displayed.

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.
This widget could not be displayed.
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
Community showcase
Posted Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

388 views 3 6
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