After completing the main page of my website, I encountered an issue with the font imported from Google. Surprisingly, it displays perfectly when viewed locally but does not show up once uploaded to my web server. Could there be a compatibility issue? For context, I am using Ubuntu 14.04 with apache2. Here is the HTML import snippet:
<link rel="stylesheet" href="css/master.css">
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"
integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<link href="https://fonts.googleapis.com/css?family=Open+Sans+Condensed:300" rel="stylesheet">
Here's the CSS used:
@import 'https://fonts.googleapis.com/css?family=Open+Sans+Condensed:300';
body
{
background-color: #dfdfdf !important;
font-family: 'Open Sans Condensed', sans-serif !important;
}
The font works on local but fails on the web server after uploading.