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

Problem using Google fonts in Dreamweaver CC (html5)

New Here ,
Mar 16, 2017 Mar 16, 2017

Hi to all! I'm writing this post since I can't figure out why is Dreamweaver CC behaving weird when using Google fonts in html5 webpage.

I have attached a picture of exactly what I am talking about.

All major web browsers correctly display the font, but for some reason Dreamweaver CC cannot display them while in LIVE view (mode).

The weirdness comes from the fact that in Dreamweaver CC and in most web-browsers the English text is displayed correctly. Plus, I have inserted the tags <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> and <html lang="bg">, even tried with <html lang="ru"> but still cant reach the success...

Thank you in advance. Any help will be greatly appreciated!

Untitled-1.jpg

1.3K
Translate
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 16, 2017 Mar 16, 2017

The screen shots only show the symptoms, not the underlying reasons (if any) for them. Could you please post a link to your work in progress so we can take a look at your code in our browsers?

I say "if any" above because DW's Live View is not a complete browser. If your code is free of errors, and displays correctly in real-world browsers, this may just be one of those situations that DW simply can't do it right.

Translate
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 16, 2017 Mar 16, 2017
LATEST

It works for me in CC 2017.0.1.  Below are 5 different Google Fonts.

Google fonts code:

<link href="http://fonts.googleapis.com/css?family=Lato:300,400,400italic,600,700|Raleway:300,400,500,600,700|Cr..." rel="stylesheet" type="text/css" />

CSS code:

.open {font-family: 'open sans';}

.lato {font-family: lato;}

.raleway {font-family: raleway;}

.crete {font-family: 'crete round';}

.oswald {font-family:'oswald';}

Nancy

Nancy O'Shea— Product User, Community Expert & Moderator
Translate
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