Editing existing singlepages layout like page_not_found.php

Permalink
Hi guys, this is going to be a stupid question, I feel it already...

I have my page_not_found.php saved in my singlepages directory, I have my view.php doing it's thing, now I just want to change the layout of the page_not_found.php components via CSS.

Ok, this is what I mean, I have the following in my page_not_found.php (saved in my "/root/single_pages":


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

<div id="404errorpage">

<h1 class="error"><?php echo t('Page Not Found')?></h1>
<?php echo t('No page could be found at this address.')?>
<?php if (is_object($c)) { ?>
<br/><br/>
<?php $a = new Area("Main"); $a->display($c); ?>
<?php } ?>
<br/><br/>
</div>


You'll notice I added in <DIV ID="404ERRORPAGE"> I did this so I can target just the 404 page. When I use the following CSS:

#404errorpage h1 {font-size:50px;}
Placed in my themes main.css

I get no change what-so-ever... When viewing source code the div and the id appear, it's as if the CSS is not being read through that area code.

Any suggestions?

Thank you in advance for anyone taking a look at this.

Richard.

 
mobius2000 replied on at Permalink Reply
Sorry guys, got it working... Looks like I just got all my single pages mixed up with the single_pages custom view files.

All good now.

Thanks to anyone that had a look at this.