The ScreenSteps Online Knowledge Base Everything you need to know about ScreenSteps
Blue mango logo white 250
  • Table of Contents
  • Contact Us
ScreenSteps Documentation » Customizing HTML Templates » How to Add Whatever Font You Want to Your HTML Template

Topics

  • Overview 4
    • What is an HTML Template?
    • The ScreenSteps Templates Folder
    • The Anatomy of the Template File
    • Installing/Sharing Templates
  • Customizing Templates 13
    • Setting the Maximum Height/Width for Step Images
    • Changing the Text Encoding of Output
    • How Do I Add My Company Logo to a Template?
    • How Can I Get a Step Image To Appear Below the Step Instructions?
    • How Do I Add An Image Border When Exporting To Blog?
    • Customizing Step Title formatting in Blog Templates
    • How to Add Whatever Font You Want to Your HTML Template
    • How Do I Make The Image Appear To the Left of the Text in an HTML Template?
    • Using Image Zoom in Templates
    • How to center images in an HTML template
    • Customizing Lesson Navigation Links In Manual Templates
    • Creating an XML Template
    • Removing The Lesson Description From the Table of Contents

Last Updated

Nov 18, 2010

Download Lesson PDF

Download Manual PDF

Other Resources

  • ScreenSteps Desktop & Workgroup

  • ScreenSteps 2.9
  • ScreenSteps Workgroup
  • Customizing HTML Templates
  • ScreenSteps: Tips & Tricks
  • Creating Word Templates
  • Publishing to Blogs & Wikis
  • ScreenSteps Live

  • ScreenSteps
  • Setting up a New Admin, Editor or Author on ScreenSteps Live
  • ScreenSteps Support Client
  • Integrating ScreenSteps With Other Services
  • ScreenSteps Remote Authentication
  • ScreenSteps API
  • API Examples
  • Implementation Guides

  • How to Create a Customer Support Knowledge Base Using ScreenSteps
  • Creating a Software Manual With ScreenSteps
  • Creating a ScreenSteps Support Site
  • Salesforce and ScreenSteps
  • Zendesk and ScreenSteps
  • Help Scout and ScreenSteps
  • FAQs

  • FAQs

Recent Updates

  • Uploading a Single Chapter to ScreenSteps Live From ScreenSteps Desktop
  • PHP Library
  • How do I Add an Editor to a Site?
  • How to add an article form a different manual or site to a chapter
  • How do I remove manuals from a site?

More

Comments

2 for this lesson

  • Prev: Customizing Step Title formatting in Blog Templates
  • Next: How Do I Make The Image Appear To the Left of the Text in an HTML Template?

How to Add Whatever Font You Want to Your HTML Template

When you determine the font you are going to use for an HTML document you have to realize that when an end user views that document in their browser they can only see fonts that are installed on their system. That means that if you set the font of your HTML document to "My Fancy Unique Font" and your end user doesn't have that font installed, they won't see it.

How ScreenSteps Handles Fonts for HTML Templates

In ScreenSteps we let you select a font-family for HTML templates. But all this does is add an html class to the body. The CSS files in the default HTML templates then know what to render for each class.

Example From HTML Template

Here is an example from one of the ScreenSteps HTML templates.

Example From the CSS File

Here you can see the font-family declarations for each class. So if you select "Courier" as the font for your template, ScreenSteps adds the class "courier" to the body tag and the CSS file sets the font accordingly.

Why Did We Choose the Fonts We Did

These are common fonts that are available on the vast majority of operating systems so you content should look pretty close to the same on various systems.

How Do I Set My Own Font?

It is very simple. Just add a CSS style with the font you want to use. You will need to modify one of the stock templates or create one form scratch.

Open Templates Folder

Open the HTML Templates preference pane (1) and select the Lesson, Manual or Clipboard tab (2). Right-click on the template you would like to customize and select Reveal Template Folder (3).

Edit the CSS File

Open the css file in a text editor.

Comment out the font-family settings starting with a /* and ending with a */. Then add your own font-family setting. That is all there is to it. You can add multiple fonts in a list. The user's computer will try to load each font in the list until it finds one that matches a font the user has installed.

  • Prev: Customizing Step Title formatting in Blog Templates
  • Next: How Do I Make The Image Appear To the Left of the Text in an HTML Template?

Comments (2)

RedPenPhantom Friday May 18 at 10:44 AM

Still, there should be a way to use a font that the end user can see despite not having it installed on their own system.

Anything else can be uploaded on the server and published, so why not for example upload a specific font used in the template that end users have access to when they see/ upload a site?

Can't believe nobody thought of a code yet to make it so.

Specific Brands use specific fonts for their logo/name. So it always needs to be an image??

Trevor DeVore Friday May 18 at 01:25 PM

You can take a look at Google Fonts. It may not have the exact font for your logo but it has a lot of additional fonts.

http://www.google.com/webfonts#HomePlace:home

Add your comment

E-Mail me when someone replies to this comment
Blue Mango Learning Systems © 2012