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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

2,858 views 27 11
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