How to change admin are fonts ?


Active member

I installed XenForo for one of my Arab customers , the admin area font is horrible in arabic (I mean Arial) ... is there any way to change the admin font to Tahoma or something like that ?

thank you

Jake Bunce

XenForo moderator
Staff member
Admin CP -> Development -> Admin Templates -> PAGE_CONTAINER

Add the red code:

Rich (BB code):
<!DOCTYPE html>
<html id="XenForo" lang="{$visitorLanguage.language_code}" dir="{$visitorLanguage.text_direction}" class="Admin">
	<meta charset="utf-8" />
	<meta name="robots" content="noindex" />
	<title><xen:if is="{$title}">{xen:raw $title} | {xen:phrase admin_cp} - {$xenOptions.boardTitle}<xen:else />{xen:phrase admin_cp} - {$xenOptions.boardTitle}</xen:if></title>

	<link rel="stylesheet" href="{xen:adminlink '_css', '', 'css=public:xenforo,public:form,admin,header,footer', 'dir={$visitorLanguage.text_direction}', 'd={$_styleModifiedDate}'}" />

	<xen:include template="page_container_js" />
	<xen:if is="{$head}"><xen:foreach loop="$head" value="$headElement">{xen:raw $headElement}</xen:foreach></xen:if>

<style type="text/css">
	font-family: Tahoma, Arial, Helvetica, sans-serif;

<body data-controller="{$controllerName}::action{$controllerAction}; {$viewName}">

<xen:include template="header" />

<div id="body" class="pageWidth">
The Development tab is only accessible in debug mode. And note that changes to admin templates are overwritten when you upgrade.


Active member
Just like always ... Your answers are great !

When I try to access development section it gives me this error :

This page is only available when debug mode is enabled.
Would you please tell me hoe to enable debug mode ?

thank you