• Free Trial
  • Products
    • LMSThe world’s easiest-to-use learning management system.
    • Training ContentA robust library of off-the-shelf learning content.
  • Solutions
    • By Use Case
      • Employee Training
      • Sales Training
      • Customer Training
      • Partner Training
      • Compliance Training
      • View all
    • By Industry
      • Technology
      • Nonprofit
      • Retail
      • Hospitality
      • Healthcare
      • View all
  • Customers
    • Learn more about Litmos customer success stories.
      • Case Studies
      • Video Testimonials
      • I Love Litmos
      • Lenny Awards
    • Featured Customer
      • Sabre, a global travel technology provider, increases revenue by using Litmos to train their sales and technical teams.
  • Pricing
  • Resources
    • Ebooks & Infographics
    • Webinars & Podcasts
    • Events
    • Integrations
    • Blog
  • About
    • Company
    • Partners
    • Awards
    • Careers
    • Sustainability
  • Free Trial
Litmos
Log in
Contact us
Support
Search
  • Free Trial
  • Products
    • LMSThe world’s easiest-to-use learning management system.
    • Training ContentA robust library of off-the-shelf learning content.
  • Solutions
    • By Use Case
      • Employee Training
      • Sales Training
      • Customer Training
      • Partner Training
      • Compliance Training
      • View all
    • By Industry
      • Technology
      • Nonprofit
      • Retail
      • Hospitality
      • Healthcare
      • View all
  • Customers
    • Learn more about Litmos customer success stories.
      • Case Studies
      • Video Testimonials
      • I Love Litmos
      • Lenny Awards
    • Featured Customer
      • Sabre, a global travel technology provider, increases revenue by using Litmos to train their sales and technical teams.
  • Pricing
  • Resources
    • Ebooks & Infographics
    • Webinars & Podcasts
    • Events
    • Integrations
    • Blog
  • About
    • Company
    • Partners
    • Awards
    • Careers
    • Sustainability
  • Free Trial

Litmos Documentation

Customizations

Home › Litmos Documentation › Sample Html Header Code

Sample Html Header Code

Note: This feature is only available for certain plans. Please contact your Account Manager for more information.

Custom HTML Header & Footer Fragments

  • An HTML Header fragment can be inserted as the first element on a web page. It will come directly after the <Body> tag and enable the inclusion of navigation, logos and other header related items.
  • An HTML Footer fragment can be inserted as the last element on a web page. It will come directly before the </Body> tag and enable the inclusion of navigation, logos and other header related items.
  • It’s not possible to upload images with the HTML fragment so any images used must be referenced from another website or intranet location.
  • Styles should be included inline and not in a separate CSS stylesheet.
  • Navigation hyperlinks should be absolute references, not relative to the page.

Static template fields:

  • {{Profile.FirstName}}
  • {{Profile.LastName}}
  • {{Profile.UserName}}
  • {{Profile.ImageSrc}}
  • {{MyProfileLink}}
  • {{SignOutLink}}
  • {{SwitchView}}

Sample Code #1

The following code is for the header below. This code is designed to reflect the litmos.com website.

Note: Although it is not required to be an HTML expert, it is recommended to have some HTML experience before creating a header.

<nav class="navbar navbar-default">
    <div class="container">
        <div class="collapse navbar-collapse">
            <ul class="nav navbar-nav navbar-right">
                <li><a href="https://www.litmos.com/litmos-pricing" target="_blank">Pricing</a></li>
                <li><a href="https://www.litmos.com/learning-management-system">Tour</a></li>
                <li><a href="https://www.litmos.com/blog/mobile-learning">Mobile</a></li>
                <li><a href="https://www.litmos.com/customers">Our Customers</a></li>
                <li><a href="https://support.sap.com/">Support</a></li>
                <li><a href="https://www.litmos.com/blog">Blog</a></li>
            </ul>
        </div>
    </div>
</nav>

Sample Code #2

The following code is for the header below This is the basic code for removing the Profile & Setting links.

<html>
<div id="titlebar">
    <div class="page-width">
        <h1 class="top-org-name">
            <img alt="Litmos" border="0"
                 src="https://www.litmos.com/wp-content/themes/litmos-lms/images/litmos-logo.png"/>
        </h1>
        <div class="nav">
            <a href="/account">Account</a>
            <a href="/account/logout">Sign-Out</a>
        </div>
        <div class="clear">
        </div>
    </div>
</div>
</html>

Sample Code #3

The following code is for the header below. This code includes the user image, user name, and an optional “Edit Profile” link.

<p align="right">{{SwitchView}} | <a href="{{SignOutLink}}">Sign Out</a></p>
<center>
    <table border="0" cellpadding="15">
        <tr>
            <td><img src="[YOUR COMPANY LOGO URL]"></img></td>
            <td><img src="{{Profile.ImageSrc}}" class="img-circle" style="width:60px;height:60px;"></img></td>
            <td>Welcome, <strong>{{Profile.FirstName}} {{Profile.LastName}}</strong>
                <br>Your username is: {{Profile.UserName}}
                <br><a href="{{MyProfileLink}}">Edit Profile</a></td>
        </tr>
    </table>
</center>

No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of Litmos.

The information contained herein may be changed without prior notice. Some software products marketed by Litmos and its distributors contain proprietary software components of other software vendors. National product specifications may vary.

These materials are provided by Litmos for informational purposes only, without representation or warranty of any kind, and Litmos or its affiliated companies shall not be liable for errors or omissions with respect to the materials. The only warranties for Litmos company products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.

In particular Litmos or its affiliated companies have no obligation to pursue any course of business outlined in this document or any related presentation, or to develop or release any functionality mentioned therein. This document, or any related presentation, and Litmos or its affiliated companies’ strategy and possible future developments, products, and/or platform directions and functionality are all subject to change and may be changed by Litmos or its affiliated companies at any time for any reason without notice.

The information in this document is not a commitment, promise, or legal obligation to deliver any material, code, or functionality. All forward-looking statements are subject to various risks and uncertainties that could cause actual results to differ materially from expectations. Readers are cautioned not to place undue reliance on these forward-looking statements, and they should not be relied upon in making purchasing decisions.

© 2022 Litmos or a Litmos affiliate company. All rights reserved.

Litmos and other Litmos products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of Litmos (or a Litmos affiliate company) in the United States and other countries. All other product and service names mentioned are the trademarks of their respective companies.

Match keywords.

Useful Links

  • Release Notes
  • Customer Portal

In this article

Related articles

  1. Content Author- Creating And Editing Modules
  2. SAP Commerce Cloud V2 Integration
  3. Competencies

Also of Interest

  • Mobile Learning System
  • Online Training Courses
  • Employee Training vs Productivity
  • Corporate LMS
  • Enterprise Learning Management System
  • LMS Platform
  • eLearning Platform
  • What is a learning management system?
  • See Additional Resources

Solutions by Use Case

  • Employee Training
  • Customer Training
  • Compliance Training
  • Sales Training
  • Operations Training
  • Gig Worker Training
  • Contractor Training
  • Supplier Training

Solutions by Industry

  • Technology
  • Nonprofit
  • Retail
  • Hospitality
  • Healthcare

Contact Us

Contact
UK: +44 20 4551 1606
USA: +1 925 490 0401
AUS: +61 3 7066 4851
Email
Support
Address
Contact Us
Litmos Reviews Litmos Reviews
Litmos Careers Careers

© 2023 Litmos US, L.P. and affiliates. All rights reserved.

  • Privacy Statement
  • Terms & Conditions
  • Website Terms