Skip to main content
yaneknmchv
Participant
March 16, 2017
Question

Problem using Google fonts in Dreamweaver CC (html5)

  • March 16, 2017
  • 2 replies
  • 1414 views

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!

    This topic has been closed for replies.

    2 replies

    Nancy OShea
    Community Expert
    Community Expert
    March 16, 2017

    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|Crete+Round:400italic|Open+Sans:400,700,600|Oswald:400,700" 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
    Jon Fritz
    Community Expert
    Community Expert
    March 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.