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

How to change admin are fonts ?

A.Chakery

Active member
#1
Hello,

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
#2
Admin CP -> Development -> Admin Templates -> PAGE_CONTAINER

Add the red code:

Code:
<!DOCTYPE html>
<html id="XenForo" lang="{$visitorLanguage.language_code}" dir="{$visitorLanguage.text_direction}" class="Admin">
<head>
	<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}'}" />
	<!--XenForo_Require:CSS-->

	<xen:include template="page_container_js" />
	<!--XenForo_Require: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;
}
</style>

</head>
<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.
 

A.Chakery

Active member
#3
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