Font Awesome not showing in navigation

Robert9

Well-known member
Just a side note on a related topic: Has anything changed with the main navigation? I can no longer get my home icon into the menu bar in /admin.php?navigation/ with <i class="fas fa-home"></i> as the title.
 
I don't think those support template syntax (<xf:fa>) or phrases so you would have to either use custom CSS or the JS-based renderer:

HTML:
<i class="fa--xf fa-map-marker-alt" style="color: #FD0645;" data-xf-init="icon" data-lazy="false"><svg></svg></i> {$value}
 
I tried saving {icon:fas::fa-home} directly as the title for English

RGGQTFiLOr.webp

and as phrases for both English and the second language,


Y8MXTAKUMG.webp

but I only get a blank space, no icon in the main menu.

firefox_prpE7gDYRR.webp


firefox_lWucOOqdAR.webp
 
Last edited:
Back
Top Bottom