Where does the font change?

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
4 years ago
Hello. I'm using Traction Theme. I'm changing the font. Installation without code. Where can I change? Is it possible to change via admin panel?
4 years ago
kerimakarsu wrote:
Hello. I'm using Traction Theme. I'm changing the font. Installation without code. Where can I change? Is it possible to change via admin panel?

Usually, at the css of the using theme. If you testing it at the server and 4.20 version, any change of css require restart of application.

Regards,
Tom
4 years ago
Usualy you edit the theme .css to change the font
No you cant do it from Admin

See the file \Themes\Traction\Content\css\styles.css
4 years ago
Hello kerimakarsu,

unfortunately, the theme font cannot be changed through the admin panel.

1) You would need to either link a font through an external link in the <head> section of the _Root.Head.cshtml file of the theme.

2) Or if you have the font files you can add them in the Traction\Content\fonts folder and use the @font-face rule to add it in the styles.css file like so:

@font-face {
    font-family: 'YOUR_FONT';
    src: url('../fonts/YOUR_FONT.eot');
    src: url('../fonts/YOUR_FONT.eot?#iefix') format('embedded-opentype'),
         url('../fonts/YOUR_FONT.woff') format('woff'),
         url('../fonts/YOUR_FONT.ttf') format('truetype'),
         url('../fonts/YOUR_FONT.svg') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


In both cases, you would need to use CSS to target all the necessary elements (preferably in the theme`s Custom Head Styles section)

Hope this was helpful!

Best Regards,
Valentin.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.