Cody DeBos Cody DeBos - 4 months ago 6x
CSS Question

Font not rendering (using bootstrap)

So I am trying to use a custom font, actually I'm using two of them. However, only one of them is rendering in the website. I tried switching them around to make sure it wasn't the reference to the second font, but then it worked fine so it wasn't that. I can't figure out where I'm going wrong. Oswald is the font rendering just fine. Quattracento is the one not working. Any advice?


<!doctype html>
<meta charset="utf-8">
<title>Arrow's Edge - Our Services</title>

<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/bootstrap-theme.css">
<link rel="stylesheet" href="css/style.css">

<script src=""></script>
<script src=""></script>
<script src="js/bootstrap.min.js"></script>

<!-- fonts -->
<link href=',700' rel='stylesheet' type='text/css'>
<link href='' rel='stylesheet' type='text/css'>

<!-- HTML for navbar -->
<nav class="navbar nav navbar-inverse navbar-static-top">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand logo-fit" href="index.html"><img id ="logo-bar" src="images/logo-bar.png" alt="Arrow's Edge Logo"></a>

<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="sr-only">Toggle Navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>

<ul class="nav navbar-nav navbar-inverse navbar-right collapse navbar-collapse">
<li><a href="index.html">Home</a></li>
<li><a href="our-services.html">Our Services</a></li>
<li><a href="#" data-toggle="dropdown">About Us<span class="caret"></span></a>
<ul class="dropdown-menu inverse-dropdown">
<li><a href="blog.html">Blog</a></li>
<li><a href="our-story.html">Our Story</a></li>
<li class="divider"></li>
<li><a href="#">Facebook</a></li>
<li><a href="contact-us.html">Contact Us</a></li>


<!-- end of HTML for navbar -->

<!-- HTML for Our Servies page -->
<div class="row">
<div class="col-md-4 col-lg-4 col-sm-4 col-xs-8 col-sm-offset-4 col-md-offset-4 col-lg-offset-4 col-xs-offset-2 text-center design-header"><p>Web Design</p>

<div class="row">
<div class="col-lg-4 col-md-4 col-sm-4 col-xs-6 text-center">
<div class="custom"><span class="custom-header">Custom:</span> <br>
<span class="my-text">We have a passion for designing new, cutting edge websites that are tailored to your specific needs. Need a site for a small business? A blog? A fan page? No problem! We have you covered.</span>




/* Style for the Our Services page */

.design-header {
font-family: 'Oswald', sans-serif;
font-size: 40px;
margin-top: 15px;
border-bottom: 2px solid black;
padding-bottom: 10px;

.custom {
margin-top: 50px;
margin-left: 25px;

.custom-header {
font-family: 'Oswald', sans-serif;
font-size: 25px;

.my-text: {
font-family: 'Quattrocento', serif;


You have a : just after your CSS selector, remove it.

/* Old CSS 
.my-text: {
   font-family: 'Quattrocento', serif;
} */

/* New CSS */
.my-text {
   font-family: 'Quattrocento', serif;