setting custom font file in newspapper theme panel

Posted in: Newspaper
Post count: 44

hello, as instructed here:
https://forum.tagdiv.com/font-customization/

i am trying to upload a new custom font.
the problem is that : i have multiple woff files and not one eg(WarnockPro-LightDisp.woff).

The target is to use this font in only one or some pages we wish without loading it in all pages…

Can you suggest how to proceed please?

Please place CC a.sklepas@webpoint.gr

Kind regards,
Alexandros S.

Post count: 44

Also in adobe type code we have -> <link rel=”stylesheet” href=”https://use.typekit.net/ubz4gdu.css”&gt; and font name WarnockPro
but body, p {
font-family: Roboto;
font-size: 16px;
} css is in higher level than
.tk-warnock-pro {
font-family: “warnock-pro”, serif;
} for wexample if we place the class in cms elements.

Post count: 44

Correction in adobe type the css is loaded in all pages and works with classes so body p etc does not take priority. but we dont want the css to be loaded in all pages(uses import +parser blocking etc) only in the page we choose to have the font…

Post count: 35449

Hi,

Normally, if is only a font, even if it’s in different versions, if you set it in the theme panel, it should not create problems, but in case you want to load it only in a few pages and those pages are create with tagDiv Composer, then use the html element (set it as first element in content) and add the font there. For more detsils you can check this guide https://www.wpbeginner.com/wp-tutorials/how-to-host-local-fonts-in-wordpress-for-a-faster-website/

Thank you!

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newspaper’ is closed to new topics and replies.