• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.4 Adding Icons To The RM & MG Category Titles?

51463

Well-known member
#1
Has anyone successfully added icons/pngs to the Titles of the Resource Manager or/and the Media Gallery?

I'm trying to put an png icon beside the Category Titles.

I tried several things but it doesn't seem to work. Am i getting something wrong?


Here is the Media Gallery i tried in extra.css


.categoryList CategoryList sapling-list .categoryDepth0 sapling-top-level.19 .categoryDepth0 sapling-top-level:before {
content: url('@imagePath/path/to/image.png');
display: inline;
vertical-align: middle;
padding-right: 4px;
}