How to update admin panel css

#1

Hi experts,

My objective is to use a new custom font in ghost.
Here is my css added to Code Injection of Site Header.
-----------------------CSS Starts here-------------------------------

@font-face {
font-family:‘ZawDecode’;
src: url(‘http://myserver.com/zawdecode.ttf’);
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video,
title  {
    font-family: 'ZawDecode', sans-serif;
}
</style>

-------------------------------------CSS Ends Here-------------------------------

But the font is only working for Site pages and not working for admin pages.
Please refer to the attached screenshot.

How should I add my font to be applied in all ghost pages?

Best Regards,
Homer

0 Likes

#2

Hey @Fred :wave:

The admin interface and your site do not use any shared styles or components. If you want to change the fonts in the admin interface, this thread might be useful:

2 Likes

#3

Thanks @vikaspotluri123.
This will do for me.

0 Likes

closed #4
0 Likes