Best Practices for Responsive Course Design (RCD)

There’s no shortage of methods for creating eLearning these days. You’ll find many sources of information promoting many different methods of design. When it comes to creating Responsive Course Design™ (RCD), however, there are a few best practices that it’s important to understand when creating any content.

Desktop First

You’ve probably seen articles on Responsive Web Design advocating that you should “design for mobile first.” However, for RCD, we use inheritance from the desktop view to populate the mobile views, so you should always design for the desktop first. Content that you place in the desktop view will be automatically responsively positioned and sized for the other views–landscape and portrait on mobile devices. When you work with the mobile views, it will be much easier to remove or reposition content that might not be as important to the information you are trying to convey on that page.

It’s important to do as much of your work as you can from the desktop, and let the inheritance do the work for you. That way, any changes or updates you make to the desktop view are carried over to the mobile views without any tweaking necessary.

Start at the Top!

When converting a non-responsive title to RCD, or even starting a new RCD title from scratch, it’s important to set up all of your title level navigation and background images first on the desktop, and then make sure everything is working on all of the mobile views, before filling in all of your content. That way, you know how much room you will have to work with, and how things will be laid out on each of the pages.

Start at the top

Themes

Using one of the prebuilt themes within Lectora®, or creating your own, is a great way to get a head start in creating new content. Each of the themes has already been designed with navigation, headers, and footers specifically designed with RCD in mind, so you know that you will get a smooth working design in each responsive view without having to put in a lot of effort to get started.

Page Layouts

Page layouts have been greatly improved with the RCD release of Lectora. Each layout now has specific layout properties for all five views within an RCD title. So, you can use one of the prebuilt layouts, or create your own custom layout and know that your content will flow correctly in each view without having to switch to each view to check it.

Page Layout

Background Images

In many non-responsive courses, a background image can be used that is the full size of the page, and all of the content items are laid out over that image. This is an issue in a responsive title in that a single background image is normally laid out for a landscape view only, and cannot be stretched into a portrait view without changing the aspect ratio of the image, creating  unwanted distortion. Lectora will automatically scale the background image to the mobile views, while maintaining the aspect ratio of the image, which will not cover the entire screen.

The responsive way to have a full size background image is to break it up into a header, a repeating body, and a footer. The header and footer would be added as images at the title level, and would be the same width as the desktop view, 1009 by default. The footer should have its position set to “from bottom,” ensuring that it will be at the bottom of each view. The repeating background would be set as the background image of the page, and would also be the width of the desktop view, but a small height. Lectora will automatically repeat the background image to fill the whole page. You’ll see many examples of this in the themes that Lectora provides. Let’s take a look at an example of a static background image, and how that would be converted.

Let’s say we have a title with the following image set as its background:

Blank Background Image

For a non-responsive desktop course meant to always be viewed in landscape mode, it would be perfectly fine as a single background image. It won’t, however, translate well to responsive views, especially portrait views, which will have greatly varying page heights, and therefore greatly varying aspect ratios. So, we break it up into three distinct images:

sections

Offset from Bottom

Lectora has always had the “Offset from Bottom” option on the position and size tab for all objects, but it takes on new importance for RCD. An object’s “Y” position is normally determined by how far the top corner of the object is from the top of the page it is on. When “Offset from Bottom” is selected on the position and size tab, an object’s “Y” position is determined by how far the top of the object is from the bottom of the page it is on. This is especially useful when the page size varies from view to view, the object will always be at the same place relative to the bottom of the page.

Offset from bottom

So all bottom navigation and footer objects should have the “Offset from Bottom” option set on their position and size tab. A good rule of thumb is that if it is at the bottom of the page, it should have the “Offset from Bottom” option set. You can look at any of the included Lectora themes, and note that all objects in the footer area have the option set.

Just Say No to Overlaying Image Objects on Text Blocks

When creating a page in Lectora, it may seem easy to line up several images within a text block by just leaving spaces in the text block and putting image objects over the blank areas within the text. This could work if you only had a single browser to produce output for. However, in today’s environment, you cannot guarantee which browser will be used to view the content, and text may be spaced differently within each browser, leading to the text and images not lining up.

In an RCD environment, it would be impossible to line up an image object over a space in a text block, as text block heights are changed and text is reflowed within the text block between views. And your content will be displayed in a great variety of browsers and devices, which will certainly display the text differently. So, what can you do when you have text and images that need to line up?

One thing that you can guarantee is that the placement of the top left of the text block will be at the position you place it at. So, for instance, if you have a text block with three paragraphs set up, and an image that is supposed to line up with each paragraph like this:

Say no 1

You could break the paragraph up and line each image up with a unique text block like the following:

Say no 2

This will ensure that the top of each text block will line up with the top of each image.

But what if you have small images that need to be inline with text? You can actually insert the image into the text, so that it will flow with the text. Just right click on the point in the text block where you want to insert the image and select “Insert – Image” from the menu, as shown below:

Say no 3

This provides another method of including images aligned with text, by placing the items in a table and including the images in the table, like the following:

Say no 4

Wrapped Text Is Your Friend

Another option that has been in Lectora for quite some time, but becomes more important with RCD, is the “Wrap Text” option in the text properties. Checking this option will cause the text to automatically flow around any image placed on top of the text block in the layering order. Images behind the text block in the layering order will not cause the text to reflow.

Wrapped 1

This can be a huge benefit when creating responsive titles, as the text will naturally flow around the image as it is resized in each view, as shown below:

Wrapped 2

The End of Flash

Responsive Design inherently means your title will be running on mobile devices, so any title produced for RCD should not contain Flash, as it will not have runtime support on these devices. For better or worse, Flash is completely unsupported on mobile devices, and so your content should not rely on it.

There are free utilities available on the Web that you can use to convert some simple Flash to HTML5, and then use the produced HTML in a Web Window within Lectora. Try out Swiffy at https://developers.google.com/swiffy/. It works very well at converting simple animation to HTML5, and may be all you need for your project.

Audio/Video Will Not Auto Start on Mobile

The major browsers on iOS and Android do not to support the auto start option for HTML5 media, making it very difficult to have auto started audio and/or video for your content. They require a “touch” of the screen in order to begin playing any audio. Interestingly enough, it is only a browser restriction. If you install the Firefox browser on your Android or iOS device, you will see that audio and video will auto start on each page on a mobile device when run from Firefox. Unfortunately, you will not know what browser your user will have, so you need to keep this restriction in mind when developing responsive courses.

Any “On Click” action (which equates to a touch on mobile), or a controller view, will be able to start media on a mobile device. So, when designing your page with media, look for a way to include a click to start it. That simple interaction can have the added benefit of keeping your users engaged with the content rather than just having it “auto played” to them.

Longer Pages, Vertical Scrolling on Mobile

Don’t worry about your pages in mobile view having a greater height than the physical screen of the device. Mobile pages have less screen real estate, and it is natural for users to scroll the screen with a gesture to read the content. It is absolutely how a responsively designed page should work in a mobile view. Remember that there are many, many devices out there, any they have many different sizes and aspect ratios, and you are building for all of them.

Much of our content in static page design has been built around exact size pages, fitting to a pre built theme height. In RCD, you can use all of the features of RCD such as “Offset from Bottom” and repeating background images such that you can use a designed background, but still allow the page to flow to its natural height, including all the information you need to, without feeling the need to cram it all into a predefined space.

Preview image

Tags: , , , ,

Comments

  1. Profile photo of Sinchu
    Sinchu

    Hi I am new to Lectora 16 and i have created one page in responsive and i am finding many alignment,t issues in iPhone, for android phones its working fine but in iPhone course is not fitting properly, its moving to right side and also showing different resolutions so can you help me to fix the issue or share a sample package with responsive layout.

  2. Profile photo of Sinchu
    Sinchu

    and also help me to post a new discussion or doubts in the forum

  3. Profile photo of Jennifer Valley
    Jennifer Valley

    Welcome to Lectora 16! We do have two courses you can use as reference. This one is a template that was create in mutliple colors that is also responsive http://community.trivantis.com/shared-content/flat-rcd-themes-for-lectora-16-and-lectora-online/ then we have our tea course which includes a varitey of content types http://community.trivantis.com/shared-content/sample-course-chinese-tea-culture-responsive-course-design/. If you’re unable to figure out the issue yourself please let me know and I’d be happy to take a look at your course files to help resolve your issues.

  4. Profile photo of Sinchu
    Sinchu

    Hi Jennifer,

    Thanks for your response, i have tested the sample course you shared but no luck, i can able to reproduce the same issue.

    I have tested in iPhone 5 IOS9, iPhone4 IOS9 and iPhone6 IOS9 in safari.

    I have registered the complaint with your supporting team but no proper update, can you please share your email id so i can share the screenshots.

    I have posted the same issue in below link,

    http://community.trivantis.com/members/sinchu/activity/9710/

  5. Profile photo of vanitha baalu
    vanitha baalu

    hi Jennifer,

    I designed an course in RCD and i have next and previous buttons in the bottom of the page. But in tablet portrait, landscape, mobile portrait, landscape the content doesnt fit the browser and since we have to navigate the content using next& pre buttons it is very difficult as we have to scroll hte page vertically or horizontally to search the buttons which are in the bottom.

    Any Solution plz…

  6. Walton Stanley

    Hello,

    We are experimenting with responsive design in Lectora. We have a e-learning module that includes videos on many of the pages. On a laptop or desktop, these videos play within the page (thus the page buttons, TOC, Next/Back, and caption drop down remain accessible and visible. However, when I add the click on video to play function for tablets or mobile phones (or enable the video controller for these) to alleviate the issue of AutoPlay not functioning in mobile devices, The videos play when clicked, but in a new screen. That is the video plays in front of the e-learning interface instead of within it. Any advice would be appreciated.

  7. amol gaikwad

    Hi
    Just a question about lectora 16 “If i have image which is show in only Landscape view not to show in Portrait view” can we do it ?

Your email address will not be published. Required fields are marked *