Jump to content
  • 0
leina

Code Bar

Question

Hello everyone

I'm new in caspion and i'm trying using google web fonts, however i don't know why it doesn't show in the html block. maybe the code doesn't go there i'm not sure


<link rel="stylesheet" href="https://fonts.google.com/specimen/Libre+Barcode+39#standard-styles">

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Hello @leina,

External fonts should be used in the Header of the datapage. 

According to the specification, fonts should have one of the following formats: 
 

Format MIME type
TrueType font/ttf
OpenType font/otf
Web Open Font Format font/woff
Web Open Font Format 2 font/woff2

 


More details can be found here: 

https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face

So, firstly, you should download need font and add the correct link to the href attribute:
image.png

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...