diff --git a/src/main/resources/templates/accounts/accounts.ftl b/src/main/resources/templates/accounts/accounts.ftl
index 6f0cab0fb3dd2e0d99c8c0db3d09121e43bd20a4..b41b5d32b9b6d348140e8d9d6a4807d6fd118511 100644
--- a/src/main/resources/templates/accounts/accounts.ftl
+++ b/src/main/resources/templates/accounts/accounts.ftl
@@ -38,7 +38,7 @@
                                             <i class="fas fa-edit"></i>
                                         </#if>
                                     </td>
-                                    <td><@header.entityIcon entity=account classes="account-icon"/></td>
+                                    <td><@header.entityIcon entity=account classes="account-icon text-default"/></td>
                                     <td>${account.getName()}</td>
                                     <td>
                                         <a href="<@s.url '/accounts/${account.getID()?c}/edit'/>" class="btn-flat no-padding text-default"><i class="material-icons left">edit</i></a>
diff --git a/src/main/resources/templates/categories/categoriesFunctions.ftl b/src/main/resources/templates/categories/categoriesFunctions.ftl
index 4387bcbec40c894f22d023ac1450ede48db49e0d..c777f81bc4c15a4726be295e242dd1583ce81b79 100644
--- a/src/main/resources/templates/categories/categoriesFunctions.ftl
+++ b/src/main/resources/templates/categories/categoriesFunctions.ftl
@@ -24,8 +24,8 @@
 
     <div class="category-circle ${classes} <#if settings.getShowCategoriesAsCircles()?? && settings.getShowCategoriesAsCircles() == false>category-square</#if>" style="background-color: ${category.color}" <#if datasetValue>data-value="${category.getID()}"</#if>>
         <span style="color: ${category.getAppropriateTextColor()}">
-            <#if category.getIcon()?has_content>
-                <i class="${category.getIcon()}"></i>
+            <#if category.getIconReference()??>
+                <@header.entityIcon entity=category/>
             <#else>
                 ${categoryName?capitalize[0]}
             </#if>
diff --git a/src/main/resources/templates/helpers/customSelectMacros.ftl b/src/main/resources/templates/helpers/customSelectMacros.ftl
index df54e2e801fdc6cbb1da2685efb01d2fe94ad468..f3231f8fd3c8734259c4567d170b152f93d74d35 100644
--- a/src/main/resources/templates/helpers/customSelectMacros.ftl
+++ b/src/main/resources/templates/helpers/customSelectMacros.ftl
@@ -165,7 +165,7 @@
 <#macro accountIcon account accountName classes="" datasetValue="">
     <div class="category-circle ${classes} category-square <#if account.getIconReference()?? == false>account-square-border</#if>" <#if datasetValue?has_content>data-value="${account.getID()}"</#if>>
         <#if account.getIconReference()??>
-            <@header.entityIcon entity=account classes="account-select-icon"/>
+            <@header.entityIcon entity=account classes="account-select-icon text-blue"/>
         <#else>
             <span class="text-blue">
                 ${accountName?capitalize[0]}
diff --git a/src/main/resources/templates/helpers/header.ftl b/src/main/resources/templates/helpers/header.ftl
index 4482bc7c4a4b3590eb014c575a6a7206e3839576..3031e462cb3f0caf1ba2e3aad7a3a285200df1a1 100644
--- a/src/main/resources/templates/helpers/header.ftl
+++ b/src/main/resources/templates/helpers/header.ftl
@@ -126,7 +126,7 @@
             <#if wrapInCircle>
                 <div class="category-circle">
             </#if>
-                <i class="${entity.getIconReference().getBuiltinIdentifier()} text-default ${classes}"></i>
+                <i class="${entity.getIconReference().getBuiltinIdentifier()} ${classes}"></i>
             <#if wrapInCircle>
                 </div>
             </#if>
diff --git a/src/main/resources/templates/templates/templateFunctions.ftl b/src/main/resources/templates/templates/templateFunctions.ftl
index 2b5972faca577c8d0301e3c8828ad97c46763176..308d62eac53e66d8268d7fc203e6dd417edf48f4 100644
--- a/src/main/resources/templates/templates/templateFunctions.ftl
+++ b/src/main/resources/templates/templates/templateFunctions.ftl
@@ -53,7 +53,7 @@
 
 <#macro templateHeader template>
     <#if template.getIconReference()??>
-        <@header.entityIcon entity=template wrapInCircle=false classes="template-icon"/>
+        <@header.entityIcon entity=template wrapInCircle=false classes="template-icon text-default"/>
     <#elseif template.getTransferAccount()??>
         <i class="material-icons">swap_horiz</i>
     <#else>