Custom font problems

Permalink
Hello.

I am fairly new with C5 (making my first site) and have run into a problem I cannot figure out.

I have converted a CSS template to C5 theme and split it into header.php, default.php and footer.php. No problems.

The problem arrises when I try to istall custom fonts. I have followed the procedures here:http://www.concrete5.org/documentation/how-tos/designers/how-to-add...

But when I add the line of code to the header, everything exept the background (all the divs) disappear. I have added the code now, so you can see. The address ishttp://www.anakwaana.com/akatest...
Here is the header.php code

<?php
defined('C5_EXECUTE') or die(_("Access Denied."));
?>

<!DOCTYPE html>
<html>
<head>

<?php Loader::element('header_required');?>
<link href="<?=$this->getThemePath()?>/default.css" rel="stylesheet" type="text/css" media="all"/>
<script type="text/javascript" src="<?=$this->getThemePath()?>/js/jquery.nivo.slider.js"></script>


<link rel="stylesheet" type="text/css" href="<?php echo $this>getStyleSheet('fonts/fonts.css')?>"/>


</head>

<body>
<div id="wrapper960" class="clearfix">


<div id="header" class="clearfix shadow">

<div id="nav" class="clearfix">
<?php
$a = new Area('Header Nav');
$a->setBlockLimit(1);
$a->display($c);
?>
</div>
</div>

<div class="slider-wrapper">
<div id="slider" class="nivoSlider">
<img src="<?=$this->getThemePath()?>/images/slider3.jpg" alt="" />
<img src="<?=$this->getThemePath()?>/images/slider1.jpg" alt="" />
<img src="<?=$this->getThemePath()?>/images/slider2.jpg" alt="" />
<img src="<?=$this->getThemePath()?>/images/slider0.jpg" alt="" />
<img src="<?=$this->getThemePath()?>/images/slider4.jpg" alt="" />
</div>
</div>

djoniba
 
12345j replied on at Permalink Best Answer Reply
12345j
You have a missing hyphen.
Instead of this
<link rel="stylesheet" type="text/css" href="<?php echo $this>getStyleSheet('fonts/fonts.css')?>"/>

try
<link rel="stylesheet" type="text/css" href="<?php echo $this->getStyleSheet('fonts/fonts.css')?>"/>

(note the $this-> not $this>)
I'll message the how to author to get him to fix it.
djoniba replied on at Permalink Reply
djoniba
Great. Fantastic. Thank you so very much. I checked the text for errors, but overlooked that one. So much damage from such a small error
PineCreativeLabs replied on at Permalink Reply
PineCreativeLabs
Sorry about the typo! I have fixed it in the How-to.