Frontend Development

HOW TO CHANGE GLOBAL FONT(MYBB1.8.30)TUTORIAL.

Submitted by draqaah, , Thread ID: 246036

Thread Closed
draqaah
Newbie
Level:
1
Reputation:
0
Posts:
11
Likes:
1
Credits:
2
03-07-2022, 01:25 PM
#1
___________________________________________________________________________
[USERS ARE URGED TO FOLLOW THE STEPS CAREFULLY, BY draqaah]
--------------------------------------------------------------------------
STEP 1: Download your desired font from anywhere, make sure it ends
with .ttf (eg arial.ttf).

STEP 2:Go to your forum root page either through ftp or through the
cpanel, create a new folder and name it fonts.

STEP 3:Upload the font you download to the /fonts/ folder,
(eg /fonts/arial.ttf)

#here is where you have to be keen buddy...

STEP 4:Go to the admin cp, through the forum.

STEP 5:Go to Template & Styles.

#now choose a theme you want to edits it's font, if you don't know
about themes, I hope you can see something written Default now
follow STEP 6.

STEP 6:Go to the theme you want, click on options->edit theme

STEP 7:Now you will see, a column written global.css, click
options->edit Style

STEP 8:Just above there you will see Edit Stylesheet: Advanced Mode
click it.

#now you gonna see a notepad with code, the code I will give you type
it from line one, I mean it should be on top..

STEP 9:Insert the following code, from the top of the notepad

Code:
@font-face {
       font-family: [color=#FFEB3B]example[/color];
       src: url([color=#4CAF50]/fonts/arial.ttf[/color]);
      }
Yellow(example) is just a name you gonna give to refer to the font..
Green(/fonts/arial.ttf) is where you font is located..

STEP10:Now scroll, and click on save changes, return home and refresh
the forum, waallllaaah.....

___________________________________________________________________________
i like to move it move it, you like to ...........

Users browsing this thread: 1 Guest(s)