Forum Discussion
MichaelWest
20 hours agoCommunity Member
Is there a way to change the width and height of closed captions?
Just trying to figure out if it's possible to resize my closed captions so they don't obscure items on my screen.
JeremyDittmer
4 hours agoCommunity Member
If you use the modern player you have some control over caption appearance (font size, colours, position) in Player Properties | Colours & Effects. Hopefully that should be enough for you.
Otherwise for more control you have to resort to adding some CSS to your published story.html & index_lms.html files. For example this:
<style>
div.caption-container > div.caption {
left: 20% !important;
font-size: 75%;
}
</style>
will make the text tiny & move the box towards the bottom left.
The best way to work out what CSS selectors & properties you need to adjust is to run the published file, pause a captioned video and then use your browser's developer tools to target the various CC related elements. Then tweak & fiddle with the CSS properties until the captions look like you want.
Here's what the process looks like in Firefox dev tools:
Related Content
- 2 months ago
- 12 months ago