Welcome Dialog

Welcome to the Community!

We have a brand new look! Take a tour with us and explore the latest updates on Adobe Support Community.


web project how to use font family-display?

New Here ,
Feb 24, 2021 Feb 24, 2021

Copy link to clipboard

Copied

Hi, i'm using Adobe Fonts in my webproject, where i saved Garamond Premier Pro, Garamond Premier Pro Caption,  and Garamond Premier Pro Display.

I've copied the exact css from the adobe fonts website and inserted them in the different parts I want them (p {font-family: garamond-premier-pro-caption; font-style: normal; font-weight: 400;}, h1 {font-family: garamond-premier-pro; font-style: normal; font-weight: 400;}, etc.) but the only font showing is the Garamond Premier Pro. 

What am i doing wrong? Advice is very welcome 😉

Views

108

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

New Here , Mar 04, 2021 Mar 04, 2021
Hi Nancy,I figured it out in the end, it was in the code used by the developer. He insisted on using <script> + .js instead of <style> + .cssThank you nonetheless for taking the time to reply!

Likes

Translate

Translate
Adobe Community Professional ,
Feb 27, 2021 Feb 27, 2021

Copy link to clipboard

Copied

Can you post the URL to your problem page online so we can see it?

 

Nancy O'Shea, Adobe Product User & Community Professional
Alt-Web Design & Publishing ~ Web : Print : Graphics : Media

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 04, 2021 Mar 04, 2021

Copy link to clipboard

Copied

Hi Nancy,

I figured it out in the end, it was in the code used by the developer. He insisted on using <script> + .js instead of <style> + .css

Thank you nonetheless for taking the time to reply!

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Mar 05, 2021 Mar 05, 2021

Copy link to clipboard

Copied

LATEST

Yes, code errors can make a lot of difference.  Glad you got it all sorted. 🙂

 

Nancy O'Shea, Adobe Product User & Community Professional
Alt-Web Design & Publishing ~ Web : Print : Graphics : Media

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines