Jump to content

Change the default font-family ?


Go to solution Solved by Marc,

Recommended Posts

  • Solution
Posted

You can change the default font that is used by editing your theme, and selecting the "text" tab. Anything outside of what is shown there however, would need to be set within your themes stylesheet

  • 2 weeks later...
Posted

Hi,

I want to use custom font, is it possible ? 🙂

I see this 

Quote

'Default' uses whichever font face this theme defines in its stylesheet.

How I define "default" in stylesheet?
I want to use this custom font : (LINK REMOVED)

I did this for now :

@font-face {
    font-family: 'xxxx';
    font-style: normal;
    font-weight: normal;
    src: url({resource="fonts/xxxx.ttf" app="core" location="global"}) format('truetype');
}

I don't know if this is the right method, thanks! 🙂

Posted (edited)
12 minutes ago, Salim Trouve said:


I want to use this custom font 

You would first need to buy a proper license. What you are linking to is an illegal download. 

Edited by opentype
Posted

I have edited the post. @Salim Trouve, Im sure you simply looked for a font there and found this on the web, however if you look at the bottom of that page it states the files are not owned by them and they dont know where to purchase them. That is however a paid file, and is therefore, as pointed out above, an illegal download. You would need to check this before using fonts from other sources.

Posted
4 minutes ago, Salim Trouve said:

About the installation?

You would define it in the custom.css for your theme. 

body, html { font-family: 'my-custom-font', Arial, sans-serif; }

or 

h1 { font-family: 'my-custom-font', Arial, sans-serif; }

 

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...