how to use custom fonts in lb nextgen
-
To use custom fonts in LB NextGen, you first need to upload the font files in a web-compatible format such as WOFF, WOFF2, TTF, or OTF to your server or assets folder. Once uploaded, define the font in your CSS file using the @font-face rule. For example, you can add the following code:
@font-face {
font-family: 'CustomFont';
src: url('path-to-your-font-file.woff2') format('woff2'),
url('path-to-your-font-file.woff') format('woff');
font-weight: normal;
font-style: normal;
}
body {
font-family: 'CustomFont', sans-serif;
}
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login