• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

web project how to use font family-display?

Community Beginner ,
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

420

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

Community Beginner , 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> + .css

Thank you nonetheless for taking the time to reply!

Votes

Translate

Translate
Community Expert ,
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— Product User, Community Expert & Moderator
Alt-Web Design & Publishing ~ Web : Print : Graphics : Media

Votes

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
Community Beginner ,
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!

Votes

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
Community Expert ,
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— Product User, Community Expert & Moderator
Alt-Web Design & Publishing ~ Web : Print : Graphics : Media

Votes

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