Face-font using Font in Design Studio

Anonymous
Not applicable

Face-font using Font in Design Studio

Hi Guys,

Can you help me how to add face-font CSS code in our landing page. I upload our font in our design studio to make it my source of my font.

Can you share to me a format of a code and where should I put it. Thanks!

Tags (1)
2 REPLIES 2
Anonymous
Not applicable

Re: Face-font using Font in Design Studio

You might try this code snippet for what you are trying to do.

@font-face
{
font-family: myFirstFont;
src: url(sansation_light.woff);
}

Not sure if this will work for your issue but I think this may at least help point you in the correct direction.

Hope it helps.
Alok_Ramsisaria
Level 10

Re: Face-font using Font in Design Studio

Please use below mentioned code in ur template:
 
@font-face {
    font-family: 'HelveticaNeueLTStd Bold';
    src: url('/rs/instancename/images/HelveticaNeueLTStd-Bd.eot');
    src: url('/rs/instancename/images/HelveticaNeueLTStd-Bd.eot?#iefix') format('embedded-opentype'),
         url('/rs/instancename/images/HelveticaNeueLTStd-Bd.woff') format('woff'),
         url('/rs/instancename/images/HelveticaNeueLTStd-Bd.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
      
  }

Hope this will help!