Austausch der google-Fonts möglich?

Permalink Browser Info Environment
Hallo Xanweb-Team,

ich hoffe, meine Frage ist hier richtig platziert und ok, dass ich auf deutsch schreibe?

Ist es unkompliziert möglich, bei euren Themes - insb. beim Replica - die eingebundenen google-Fonts durch eigene Schriften, die ich selbst hosten möchte, auszutauschen?

Ich stelle mir das so vor, dass ich in einer der Dateien vom Theme die Zeile für den Import der google-Fonts einfach auskommentiere und stattdessen ein Font-File mit meinen eigenen lokalen Fonts einbinde (und dann natürlich in den CSS Dateien meine Fonts angebe ...). Beim Atomik-Theme bin ich da gescheitert. Das ging nicht so ganz einfach.

Wie ist das beim Replica-Theme? Klappt das da?

Viele Grüße
Trickler

Type: Pre-Sale
Status: Resolved
trickler
View Replies:
Xanweb replied on at Permalink Reply
Xanweb
Hello Trickler,

Here is a way to use a local font:

1. Create a CSS file under your application folder, for example, in the path "application/css/new_font.css".

2. Place your font file in the same location as the CSS file, for instance, "application/css/new_font.woff2".

3. Edit the CSS file and include the following code snippet. Make sure to adjust the font family, format, and other details to match your specific font:

@font-face {
    font-family: 'New Font';
    src: url('new_font.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}


4. Now, navigate to the Replica Pro Options > Additional Fonts.

5. The Display Name and the CSS section should be filled out as before. For the link, you need to specify the URL of the created CSS file. Following the examples provided above, the link should look like this: "https://replica-pro.xanium.io/application/css/new_font.css". Be sure to replace "https://replica-pro.xanium.io" with your own website URL.

6. You are now ready to try out the new font.

Kind Regards,
Xanweb Support Team

concrete5 Environment Information

unbedeutend

Browser User-Agent String

unbedeutend

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.