Post by kk651 » Sat Oct 31, 2020 8:05 pm

Hello,

I'm trying to add my custom font families from Adobe fonts.
I managed to add it manually by adding the typekint script into head: (<link rel="stylesheet" href="https://use.typekit.net/eui....css">),
then by defining it at "/system/library/journal3/data/fonts/system.json" as a font family.

However, I don't know how to have font varieties in the page.
For example I have Adobe font "Trajan" in my web projects. I add it to system.json as "Trajan, serif".
Once I add this way, Opencart picks a random font weight among many alternatives, and allows you to display only that one.

How can I add different font weights at system.json?
Any tips will be appreciated!

Newbie

Posts

Joined
Sun Aug 30, 2020 8:46 pm

Post by paulfeakins » Mon Nov 02, 2020 7:01 pm

kk651 wrote:
Sat Oct 31, 2020 8:05 pm
then by defining it at "/system/library/journal3/data/fonts/system.json" as a font family.
https://support.journal-theme.com/

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Legendary Member

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by kk651 » Mon Nov 02, 2020 10:55 pm

My humble apologies, of course Journal didn't provide any support in this matter ;D

Anyways. I managed to solve the problem myself.

1- Add the script provided by Adobe to the head
2- Add relevant fonts to your font directory
3- Add font to your html as style="font-weight:300"

Feel free to reach out if you need any help!

Newbie

Posts

Joined
Sun Aug 30, 2020 8:46 pm
Who is online

Users browsing this forum: No registered users and 2 guests