How can i change my forum font?

nxck

Well-known member
Registered
Joined
Dec 2, 2022
Messages
126
Points
28

Reputation:

How can i change my forum font?
 

Nott

Member
Registered
Joined
May 6, 2020
Messages
14
Points
13

Reputation:

depends on the style, in default as on the screen
 

Attachments

  • 1.JPG
    1.JPG
    129.6 KB · Views: 101

nxck

Well-known member
Registered
Joined
Dec 2, 2022
Messages
126
Points
28

Reputation:

BattleKing

Spirit of darkness
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P Member
Collaborate
Registered
Joined
May 24, 2020
Messages
3,519
Points
523

Reputation:

Where can i get more styles and how can i apply it on my forum?
caccacaccaThese are the styles which will be taken from the client system, it checks the first font if available, if not it check the next and so on.
 

Zer01ne

Collaborate
Collaborate
Registered
Joined
Nov 25, 2022
Messages
679
Points
253

Reputation:

  1. Create a directory on the root folder or upload your custom font in any existing folder.
  2. Open the extra.less and customize the bellow codes.
  3. Apply the font family anywhere you want.
CSS:
@font-face {
  font-family: lipi;
  src: url(/media/fonts/SolaimanLipi.woff2); // Here will be the URL of your font. //
  font-weight: 400;
}
/* I am applying it to post description */
.message-body {
  font-family: lipi;
  font-size: 14px;
}
 
Top