Questions? Contact Us
  Blue Mango Learning Systems
  • Home
  • Forums
  • Documentation
  • Submit a request
  • Check your existing requests
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

This manuals will show you how to perform some advanced customizations to HTML and XML templates in ScreenSteps. The main ScreenSteps manual is available here.

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 Live
  • Setting up a New Admin, Editor or Author on ScreenSteps Live
  • ScreenSteps Live Support Client
  • Integrating ScreenSteps Live With Other Services
  • Collaborating on ScreenSteps Live
  • ScreenSteps Live Remote Authentication
  • ScreenSteps Live API
  • API Examples
  • Implementation Guides

  • Creating a Software Manual With ScreenSteps
  • Creating a ScreenSteps Live Support Site
  • Improving your Zendesk Support Site with ScreenSteps Live

Comments

0 comments 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

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

Example_from_html_template

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

Example From the CSS File

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

Media_1290025731915

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

Media_1290025768154

Open the css file in a text editor.

Media_1263851408407

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 (0)

Add your comment

E-Mail me when someone replies to this comment

Documentation powered by ScreenSteps Live