Reputation: 1629
I recently did an update to the code I'm working on for a website and for some reason Google fonts have stopped working on the site
http://www.gezzamondo.co.uk/simple.html
I don't want to copy and paste all the code in as there's quite a lot. Anyone else having this problem just now or is there an error somewhere
Upvotes: 0
Views: 965
Reputation: 1
I have same problem just remove http:
<link type="text/css" rel="stylesheet" href="//fonts.googleapis.com/css?family=Roboto:400,100,100italic,300,300italic,400italic,500,500italic,700,700italic,900,900italic">
Upvotes: 0
Reputation: 7122
Why you add a text CV in your style.css, remove it.
CV@charset "UTF-8";
/* CSS Document */
body {
font-family: 'Roboto', sans-serif;
margin:0;
padding:0;
font-weight:300;
}
Upvotes: 1
Reputation: 3308
You need to load the font before the style.css
, switch this
<link type="text/css" rel="stylesheet" href="css/style.css">
<link type="text/css" rel="stylesheet" href="http://fonts.googleapis.com/css?family=Roboto:400,100,100italic,300,300italic,400italic,500,500italic,700,700italic,900,900italic">
to:
<link type="text/css" rel="stylesheet" href="http://fonts.googleapis.com/css?family=Roboto:400,100,100italic,300,300italic,400italic,500,500italic,700,700italic,900,900italic">
<link type="text/css" rel="stylesheet" href="css/style.css">
Upvotes: 1
Reputation: 63
When working with google fonts replace their single marks with double quoutemarks and if you're working on a local server make sure the http:// is included when linking.
Upvotes: 0