CSS not being applied

Permalink
Hi,

I have a static html site which I am trying to convert into a concrete 5 theme.

The theme has been uploaded, tool bar showing properly. However, I got a little stuck with getting the css code to display properly.

The code is showing as follows:

<link rel="stylesheet" href="<?php echo $this->getThemePath() ?>main.css"/>
<link rel="stylesheet" href="<?php echo $this->getThemePath() ?>reset.css"/>

The link to the page:
http://www.jewishislington.co.uk/new/index.php?cID=1...

This is how the css should look:
http://www.jewishislington.co.uk/...

Can anyone suggest how to make the css work?

Thanks

 
enlil replied on at Permalink Reply
enlil
try a hard refresh or clear your cache. I'm seeing what look to be identical pages at both the links you provided.
HKLondon replied on at Permalink Reply
Thanks for your quick response.

I have found a fix that solved the problem, my website is indeed displaying correctly now.

It turns out that the php snippet on the official concrete 5 website is a little outdated, this new code seemed to do the trick:

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

The current recommended php code which I had found here did not work.
http://www.concrete5.org/documentation/how-tos/designers/make-a-the...

<link href="<?php echo $this->getThemePath()?>/style.css" rel="stylesheet" type="text/css" />