Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > RocketCake
Using external fonts - additional CSS styles required?

micaelo
Registered User
Quote
2023-11-20 16:13:16

On various sources in the internet I found that additionally to the download link in the header of the page, e.g.
<link rel="stylesheet"
href="https://fonts.googleapis.com/css?family=Sofia">
also additional CSS styles should be entered, e.g.
 font-family: 'Sofia', 'sans-serif'; 
.
However, to my experience, it seems to be enough to have just the download link in the header of the page. Here is a test rcd I made https://4hundert.de/share/google..., and the ad-hoc loaded fonts work with and without entering additional CSS styles, meaning: If I delete the additional CSS styles, close the rcd and my browser, clear the browser cache, then re-open the rcd and click Preview, the external fonts will still work. I guess that's because I have assigned font face and style in the RC editor(?).

So am I right in doing without entering additional CSS styles? Or should I better continue entering additional CCS styles?


niko
Moderator
Quote
2023-11-21 08:04:12

Yes, should work. That just defined a font family named "Sofia" and loads the font file from the google server. No need to additional css style.

You can then just enter the font name "Sofia" it in the font family box in RocketCake, without thinking about anything else.


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "Internatio?al" (you are not logged in)


Text:

 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


   






Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact