Adding a custom Font Family to Help Center | Community
Skip to main content

Adding a custom Font Family to Help Center

  • October 16, 2013
  • 59 replies
  • 0 views

Show first post
This topic has been closed for replies.

59 replies

Trapta
  • March 17, 2018

Hi @Irene Vozzi,

Please remove the $ sign from font name in your CSS code.

Let us know how it goes for you.

Thanks

Team Diziana


  • March 19, 2018

Hi @Trapta. I tried that as well. This is the result: 

http://www.clipular.com/c/4721323130224640.png?k=_Eg4Fw0Rp2RBCjDFnikWVCEDTOI

For reference, this looks nothing like the custom font I uploaded. Although it is a different result from the one that I have if I add the $: 

http://www.clipular.com/c/4721323130224640.png?k=_Eg4Fw0Rp2RBCjDFnikWVCEDTOI

None of those options are the correct font, albeit the latter looks slightly better/more in brand. Any thoughts? 


Trapta
  • March 19, 2018

@Irene Vozzi, got it. Update your code from

@font-face {
font-family: 'GothamRounded-Bold';
src: local ("GothamRounded-Bold"), 
src: url('$assets-gothamrounded-bold-woff');
font-weight: 400;
font-style: normal; 
}

to

@font-face {
font-family: 'GothamRounded-Bold';
src: local ("GothamRounded-Bold");
src: url('$assets-gothamrounded-bold-woff');
font-weight: 400;
font-style: normal; 
}

and let us know the results.

Thanks

Team Diziana


  • March 19, 2018

That worked wonderfully! Thanks for flagging the error. 


Karl18
  • July 24, 2018

A great big thanks to Jan B for creating this to begin with.

However, this guide is really tricky to follow: It presupposes understanding, fails to elaborate on some important details and does not use visual aides and formatting that would help a lot.

I do not think it is a coincidence so many of us are having issues to begin with. I just got it to work, but not using the guide but rather by reading the comments. 

It'd also be nice to get a quick explanation of why all these different file types are needed (and perhaps why/when it is not). I know now that it's because of browser compatibility but at first I thought I could not do this because I do not have access to all file versions.


  • August 7, 2018

Hey guys!


help needed :) i went through the guidelines of this article a few times but it doesn't work. first of all - the interface of my assets folder looks different and it shows the url/link to the source files differently than in the guide. might this be the problem? What else could be wrong?


@font-face {
  font-family: 'CircularStd-Book';
  src: local ("CircularStd-Book");
  src: url('$assets-circularstd-book-otf'),
    url('$assets-circularstd-book-woff'),
    url('$assets-circularstd-book-ttf'),
    url('$assets-circularstd-book-eot'),
    url('$assets-circularstd-book-ttf');
  font-weight: 400;
  font-style: normal;
}

 And another question - how do i install two different typefaces? I'd like to change the headline and copy text seperately. Is that possible?

Thank you, Maria


  • September 7, 2020

Hello,

I have tried to insert a font family Gilroy, but it is not recognized in CSS. Please help me!!. this is my code:

1.

2. in the file style.css   company= I know the company is a reference 

@font-face {
font-family: 'Gilroy';
src: url('//company.zendesk.com/hc/Gilroy-Regular.eot');
src: url('//company.zendesk.com/hc/Gilroy-Regular.eot?#iefix') format('embedded-opentype'),
url('//company.zendesk.com/hc/Gilroy-Regular.woff2') format('woff2'),
url('//company.zendesk.com/hc/Gilroy-Regular.woff') format('woff'),
url('//company.zendesk.com/hc/Gilroy-Regular.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}

 

3.finally I put font-family in the code, body, H1,H2,H3...... 

5.

 


Sumita
  • September 9, 2020

Hey lucero,

You have to write the font name under the double quotes (" "), Just replace use the below code and it will solve your problem 

font-family: "Gilroy";

Let me know if you have any issue

Regards

Jay


  • September 10, 2020

Hi jay darado

I put this, but the font didn´t solve