Join Aaron Quigley for an in-depth discussion in this video Starting with a responsive template, part of Learning Captivate 8.
Throughout this course so far, we've been working on top of what's called a responsive template. Responsive meaning, we're actually building three presentations in one, or our elements have three different properties based on whether or not they're being viewed on a desktop computer, a tablet or a mobile device, such as a cell phone. The reason we started with a responsive template is we build our presentation on the primary view, the same way we would if we were only building a presentation for a single view. With the responsive template already enabled at this point, we have the ability to go in and make changes to our presentation for how it will display on a tablet or a mobile device.
In this video, we're going to become familiar with the layout of the responsive elements. In the following videos in this chapter, we'll dive into turning our current presentation into a presentation that looks great no matter what device is accessing it. The first thing I'd like to point out is that we're working in the final project, which is in the root folder of the exercise files. The reason is, is this final project has already been optimized for responsive displays. Here, when I'm looking at the main slide, I've got this light green bar at the top, and it says 1024. That means that this view has been laid of for 1024 pixels wide.
If I click on the next icon over, which is 768 pixels, you can see that things change. The stuff on the slide has changed position, orientation, and size, in order to accommodate the new tablet view. If I click one further to the mobile view, I have an orange color at the top, and things have been laid out again, so that they're optimized for the mobile view. Now, these colors are really important, and they deal with the properties menu. Let's go ahead and head back, all the way out to the primary view, or 1024 pixels.
In the Properties menu on the right-hand side, if I click on something, let's say, the Orange Valley University logo, and then look at its Position, I can see that it's positioned absolutely, meaning in reference to the sides of the slide, and it has a percentage for how far is it from the top and how far is it from the left. The object height is being determined automatically, and its width right now is 58.6% wide. The reason these are in percentages, is it allows us to make changes to the slide width, and these are going to automatically update to help things look good.
You'll also notice that all of these boxes have a green outline. The green outline means that these are the numbers for the primary view. If I now click over to our tablet view with the blue outline, you can see that some things change and some things don't. On our Object Positioned Absolutely, I can see that they are now 25% from the top and 21.4% from the left. And they have blue boxes around them, meaning that this only applies to something that's a tablet or around 768 pixels wide.
Now, the object size itself though, it's still taking up 58.6% percent of the screen. It looks smaller because we have a smaller screen, but this number is staying the same. It's pulling this number from the desktop view, and that's why it still has green around those boxes. If I go one step further to the mobile view, I can see that the top is now a specific number just for the mobile view. The bottom is a specific number just for the mobile view. But the left and right, we're using the same numbers from our tablet view. And the object size is still relative to the screen.
So, no matter what size the screen is, this logo's always going to be 58.6% the width of the screen. So, now that we understand a little bit about how the colors represent the position of the items, and that the positions are in percentages, let's go ahead and dive into understanding, what size screens should we be designing for?
- Choosing a project layout
- Applying and changing themes
- Adding text, media, and shapes
- Inserting interactive elements and widgets
- Adding audio and video
- Adding closed captions to video
- Using responsive templates, text, and images
- Accessing elearning
- Creating software simulations
- Publishing a Captivate project