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

0 votes
Accepted answer

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
Community showcase
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,178 views 20 14
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