Totara Learn Open Discussions

Certificate plugin - customising baked-in font

 
Jane Rutherford
Certificate plugin - customising baked-in font
by Jane Rutherford - Monday, 23 June 2025, 5:53 AM
 

Hello

Totara Learn 18.6.

We have a certificate set up and it issues fine.

The odd thing is the font used in ONE PHRASE, 'This is to certify that'. It clashes with the other fonts on the certificate and managers want it changed (understandably).

I include an sample certificate I found online - this seems to be a common unsolved issue.

The setting seems to be stored in the Language pack.

I THINK I've tracked down the place this can be done in Totara - 'Localisation>language customisation> search for the 'certificate.php' > show strings (under mod) >local customisation.

The 'local customisation' box alongside - what do I put in there? To change the font to ARIEL. Is it written in CSS using the style trigger?

Or can't It be changed? Pretty frustrating.

The rest of the certificate is fine.

Thanks everyone.

Jane

SAMPLE:

Craig Eves
Re: Certificate plugin - customising baked-in font
by Craig Eves (Totara Support) - Tuesday, 24 June 2025, 9:10 PM
Group Totara

Hi

There is a description of modifying certificates text and appearance

Open the file for your certificate type, e.g. certificate/type/mycertificate/certificate.php. At the bottom of the page below '// Add Text' is the code that prints-text on the certificate.

So you can see the certify string has the font Times which can be changed to what you want

regards

Jane Rutherford
Re: Certificate plugin - customising baked-in font
by Jane Rutherford - Wednesday, 25 June 2025, 3:12 AM
 

Thanks for getting back to me Craig.

Yeah, I found that info online, but I don't have access to the file system to edit or add code.

I imagine a lot of users on here are in the same boat.

I found a workaround however, with the help of our host. I'll share it here for users in my situation.

This workaround doesn't change the baked-in font, it gets rid of the phrase by using HTML.

In the 'Local customisation' box type   no spaces, and save the language pack. You must have the permissions to update the language pack.

This inserts a blank where that string was.

I updated our template to include the same phrase in the font I wanted.

The template of the certificate is uploaded via Quick access menu>Plugins>Activity modules>Certificate>Upload>Borders section.

Thanks again - great community.

Jane