How to use a specific font in a font-family

I want to use Arial Regular, but the font-family, as the name suggests, only accepts the font-family, not the specific font that I want to use.

1 Like

Hi @gururajankappa !

You can just list the font family like this
font-family: Arial,Helvetica Neue,Helvetica,sans-serif;

Since Arial is at the beginning it will be the first font used if it is installed on the users computer.

Good news is that most people have it installed on their mac or windows.
In the event that it is not installed then the computer will just go to the next available font.

1 Like

Sometimes a font comes with only one weight (in that case, it would be called “Arial Regular”), but why not use just “Arial” and then set the font-weight to “regular”?

1 Like

Okay. That seems easy.
Thanks a lot for the answer.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.