RM 2.1 How do I get rid of the cog icon on all my documents?

Alfa1

Well-known member
Since upgrading to XFRM2.1 all documents that do not have an image display a grey cog icon. It looks like the site is under construction.
How can I change this icon?
I'd like to change it for:

I cant find anything in the manual. Searching admin cp for resource or font awesome gives no results.
 

Chris D

XenForo developer
Staff member
It can be modified in the core_xfrm.less template.

Find:
Less:
.m-faContent(@fa-var-cog);
Replace with:
Less:
.m-faContent(@fa-var-file-pdf);
 

Alfa1

Well-known member
Thanks!

I was able to make the icon red by changing:
color: @xf-textColorMuted !important;
to
color: @xf-errorColor !important;
 

Mike

XenForo developer
Staff member
Alternatively, assuming you don't actually want icons, you can disable resource icons in the RM options. It will shift to the resource owner's avatar then.
 

Alfa1

Well-known member
A PDF icon is optimal for those resources that are PDF. In the case of documents the member avatar is not too relevant as they are not the author of the content.
 
Top