SOLVED: How to Change Table of Contents font in Articulate Rise

Hi all,

 

I am currently building my first Rise course to be utilized on an LMS. I am looking for a way to edit the font and size of the ToC on the splash page. I have already uploaded custom fonts to the course, but I am unable to edit the ToC text. Can anyone point me in the right direction? I tried to look for it in the exported file structure, but I don't know what I'm looking for. Please help!

**Edit: Solution below

9 Replies
Trina Rimmer

Hi Trenton. The table of contents on the course main page is set to a default font. It's possible someone in the community has a workaround for customizing this and will chime in on this discussion. Hopefully, this reply will bump your question up to the top of the list.  

For now, it sounds like you're looking for more customization options so I'm going to pass your thoughts on to our product team. You can also detail how this feature would be helpful to you with a feature request if you'd like.

Trina Rimmer

I checked with our dev team and the font you're looking for is Lato. However, if you do a search for that in the CSS, you'll likely get a lot of hits since it's one of the built-in font options.

Also, if you change the font in the CSS, it may impact how your course displays or how well the text is rendered so please keep that in mind as you test your course for deployment. 

Sam Williamson

Hey Trenton,

To manually edit this you'll want to look in your exported module's lib folder and search within main.bundle.css.

I believe the relevant parts for you will be editing the font-size attributes of:

  • .overview-list__title-content
  • .overview-list__link

I'd suggest increasing the rem font-size of both the above by .3 and seeing how things look.

For future reference, I find Chrome's developer tools to be very useful when trying to figure out unfamiliar CSS. They might look intimidating if you're unfamiliar with them, but on a basic level you can simply right-click on the part of the page you want to alter, hit Inspect and it'll give you name of the element you want to change. You can use the tools to test any changes in real-time, too.

Trenton Irons

This is amazing! I am halfway there. I've edited the font size, but I can't figure out how to edit the font family. I see where it says "Lato" in the CSS. I tried to change it to my custom font, but when I make the change, nothing happens. I'm wondering if the name I'm typing isn't calling the custom font from the font file? Any ideas?

 

By the way, I'm making these changes in the CSS file within my course hierarchy. Using Chrome's dev tools helped me identify where to look. Thanks for that tip!

Sam Williamson

The only thing I can think of is that your custom font has spaces in its name meaning you need to wrap it in quote marks, like so:

p {
font-family: "Times New Roman", Times, serif;
}

If that doesn't do it your best bet is probably to search the CSS for your custom font's name so you can copy how it's implemented for other elements.

Trenton Irons

Sam,

Thanks for the tip! Oddly enough, I was able to change the font size of the Table of Contents text, but not the font-family. I believe that the font family is inherited from an uneditable inline style sheet (although I could be wrong).

I did find a solution, though! I was able to change the font on the Table of Contents by replacing the fonts in the scormcontent > lib > fonts folder.

I knew that the page was calling for 'Lato' in the code for the Table of Contents. Since I wanted all of the Lato font changed to my custom font, I went into the fonts folder, duplicated my custom font 5 times, and renamed my custom font as all the individual states of Lato. I attached a screenshot of the folder I edited and the end result of my splash page. All of the 'Lato' fonts in the screenshot are actually my custom font duplicated and renamed as the original Lato fonts. Once I did that and reloaded the index.html, I was able to see the changes.