how to add font to pipeline theme

how do I add encode sans font into pipeline theme and applied to each heading individually without affecting other headings as well ?

thanks in advance

@tarekanani - do you have font files for this particular font? add those files to assets folder and you can follow this link

yes I have it but I can’t apply it cause I saw a tutorial of adding a custom font to the dawn theme but the code structure in the pipeline theme is different so I don’t know how to add it

@tarekanani - adding font to assets folder and adding css code is same for all themes

Hi @tarekanani

I hope you are well.

Please follow our detailed guide to add the font to your theme code first:

1/ First, you need to download the font and convert it to woff2 format. You can convert it via this link: https://cloudconvert.com/otf-to-woff2

2/ In the next step you will upload that font to the assets file. Here is the screenshot for your reference: https://prnt.sc/7xZ8SuVnnqBl

3/ Then add it to base.css or style.css or theme.css of theme.css like this: https://prnt.sc/SPKAb341ZkKi

4/ Then you can use it for any element: https://prnt.sc/y3BrMpTMsct6

Please let me know if it works. Thank you!

Best,
Daisy - Avada Support Team.