Do you have the default font overridden using the module_* stylevars?
Using Google Webfonts in vBulletin 5.
Collapse
X
-
Translations provided by Google.
Wayne Luke
The Rabid Badger - a vBulletin Cloud demonstration site.
vBulletin 5 API -
No in my additional.css and just the navigation bar.Comment
-
updated for 5.1.4Translations provided by Google.
Wayne Luke
The Rabid Badger - a vBulletin Cloud demonstration site.
vBulletin 5 APIComment
-
You can use embeddable fonts in your vBulletin 5 style as long as the browser in use supports it. Browsers that support Embeddable Fonts include IE 9, IE10, Chrome, Safari, and Firefox. Older versions of IE can support Embedded Fonts using a proprietary font format from Microsoft.
To use these fonts follow the instructions for your version.
All Versions of vBulletin 5
Go to Google's Webfont site and find the Fonts you want to use. A popular one is Open Sans. If you want to use multiple fonts, click "Add to Collection". If you just want to use one font, click "Quick Use". We're going to use Quick Use.
Google will provide the different varieties of the check the varieties you want. Google also shows a meter on the top right that estimates the load of your font package. Embeddable Fonts need to be downloaded by the end user when they visit, though they can be cached as well. In order to provide some font variety, I have selected Normal 400, Normal 400 Italic, Bold 700, and Bold 700 Italic. Increases the load time a little but provides a lot of flexibility.
After selecting your varieties, scroll down on the page and you'll see the code you need to embed the fonts on your site. You'll need to copy this code for inclusion in your forums. For our Open Sans example the code looks like this:
Code:@import url(http://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700);
Now that you have your code, you need to log into the AdminCP of your vBulletin 5.1.4 installation. Once logged in go to Styles & Templates -> Style Manager. Click on the «» button on the far right to expand the template list. Next double click on CSS Templates to open that group. Now double-click on css_font.css to edit it. Place your Google Web Font code within this. Save this template.
Go into the Style Variable Editor for your style and find the stylevar body_font. At the beginning of the font family line add:
Code:"Open Sans",
.
the last part, find stylevar body_font. I can't find it.
Could someone do a visual tutorial on this? actual pictures step by step would be much more helpful tutorials then just text.
Comment
-
css_font.css is a template and by default it would be empty. You can place your code anywhere within that template. Ideally you would only include the fonts you're using so it would be the only line.
You should not be editing files directly.Translations provided by Google.
Wayne Luke
The Rabid Badger - a vBulletin Cloud demonstration site.
vBulletin 5 APIComment
-
This is what I mean about pictorial tutorials, it's so much easier to learn from actual pictures.
I think I ended up doing it but doesn't appear to change anything.
My main concern was the text size, why is the text on all themes aside from vb default theme so small?
how do I make the blue green theme to have bigger text?Comment
-
This is what I mean about pictorial tutorials, it's so much easier to learn from actual pictures.
I think I ended up doing it but doesn't appear to change anything.
My main concern was the text size, why is the text on all themes aside from vb default theme so small?
how do I make the blue green theme to have bigger text?Comment
-
You had two threads on Changing Fonts. In one I posted example CSS on how to change the font sizes you want to change. You'll have to look at that CSS code, edit it to fit your needs and apply it to your site. The second was closed.Translations provided by Google.
Wayne Luke
The Rabid Badger - a vBulletin Cloud demonstration site.
vBulletin 5 APIComment
-
-
👍 1Comment
-
Comment
-
Which font are you attempting to change? There is another global font for the headers called global_header_font
Some of the individual stylevars need to be changed individually. The developers are still working on the global stylevars.👍 1Comment
-
At the time of this post, It would probably be best to wait for vBulletin 5.5.0 to be released for font customization.Translations provided by Google.
Wayne Luke
The Rabid Badger - a vBulletin Cloud demonstration site.
vBulletin 5 API👍 1Comment
Related Topics
Collapse
-
by dz_khelifahello
how are you
I want to change the default font
In all forum pages
From Arial
To: Droid Arabic Kufi-
Channel: Support Issues & Questions
-
-
by KINGdotNETWhen I cut and paste a message, the FONT is way off. I would like to change it using my default forum font.
What is the default FONT of the forum.
Thank you.-
Channel: vB Cloud Support & Troubleshooting.
-
-
by NintenexIs it possible to use any font e want on our forums? Which ones are acceptable?
-
Channel: vB Cloud Support & Troubleshooting.
-
-
by CalamityHello,
I would like to add a font called Century Gothic as a usable font when posting threads on my forum. I have it addedd to the css_fonts.css file, as well as added it to the font family...-
Channel: Support Issues & Questions
-
Comment