HUGO

Change font style and size of code in Hugo Academic

I wanted to change the font and size of font of the code section in my Hugo Academic (the theme) webpage. I added the font name in the config.toml and I also know I have to add some CSS in the html files. I can’t figure out which one.

Can somebody help?

if you want to use custom font it is needed to add description for it in
data/fonts/<YOUR_FONT>.toml
look for example to
themes/academic/data/fonts
and after that use it in params.toml as

font = "<YOUR_FONT>"