Can anyone one point out to any reference or let me know how the default dam folder icons can be replaced? I know that following are the list of icons that are available. But how can I change default folder icon to the icon of my choice? Any help is really appreciated!
I am bit unclear on which specific icon you are trying to replace. Is it this one?
If not, can you add a screenshot?
Please find the below image. I've highlighted the folder icon that I'm talking about.
FYI: I'm currently working on AEM 6.3 version. Please let me know if you've any idea on how to achieve my use-case.
Folder icon is coming from /libs/clientlibs/granite/coralui3/css/coral.css to overwrite we need to overwrite the file in apps folder and update the css to have custom icon.
The above will have impact while upgrading to new versions of AEM.
So we can add a css file and update the styles and add the css file with below category
Which will add new css file to coralui3 so that there wont be much affect while upgrading to new versions of AEM and only effect the styles added.
Note: I checked in AEM 6.4 the files path or category might be different in AEM 6.3 but the procedure will be the same
Thanks for the quick reply! I was looking for the file from which icon="folder" is getting applied, so that I can overlay the same file and modify the folder icon as per my requirement. However, after little bit of more research I could find the file I was looking for. Here is the file path:
I see directory.jsp in both AEM 6.2 and AEM 6.4
For testing I changed css file "/libs/clientlibs/granite/coralui3/css/all.css" from
and able to see the new folder image
It needs additional css changes as per your requirement
Hope it helps..