Welcome Guest [Log In] [Register]
We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Multiquote (on) Multiquote (off)
Add Reply
Changing The Font On The Board
Topic Started: Mar 5 2018, 02:32 PM (190 Views)
Nabeela
Member
[ *  * ]
Is there a general code to change the font for the whole board *all themes included* or do you have to go theme by theme to change the font?
Offline Profile Quote Post Goto Top
 
Bry.
Member
[ *  *  * ]
If you want to change the font in all or just one board, you'll have to find the "font-family" string in the CSS, and change to a different one there. Make sure that the font you're going to use is "web-safe" though. Here's a list of them.
Offline Profile Quote Post Goto Top
 
Nabeela
Member
[ *  * ]
I want to change the font for all of the themes and was wondering if there was a code for that or do I go to each theme and change it theme by theme. I want to use one font for all the themes to be the default font for all themes. It is a Google Font - Delius.
Offline Profile Quote Post Goto Top
 
Bry.
Member
[ *  *  * ]
Unfortunately, no such code exists for that. You're going to have to go through them one-by-one. The job wouldn't be too hard if you have a few themes on your board. Also, I've never heard of that font but I don't know if it's web-safe or not. Try it on one theme and see for yourself.
Offline Profile Quote Post Goto Top
 
Nabeela
Member
[ *  * ]
That is what I thought. Thank you. My friend has it on her Proboard and I was able to see it and didn't know the name it until I asked her and she told me. So, I must have it installed on my computer.
Offline Profile Quote Post Goto Top
 
Helena
Member Avatar
M is for Mod

You may need to install the google font (google should have some documentation that tells you how to do this) on your board and then add the CSS changes.

You can put CSS that affects all themes in the Javascript section of your board template.
Once you have set up the custom font properly, you can surround the CSS with style tags:

Example (you can try installing this snippet to see if it affects all the areas you wish to change):

Code:
 

<style type="text/css">
html, body {
font-family: "Georgia", "Times New Roman", serif;
}
</style>


Offline Profile Quote Post Goto Top
 
Nabeela
Member
[ *  * ]
Thanks.. I changed the font family on the themes and it changed the font to the one I wanted.
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · ZetaBoards - Theme & Code Support · Next Topic »
Add Reply