Page 1 of 1

404 page css ?

Posted: Mon Apr 04, 2016 1:31 pm
by mahmut
Hello , I want to create a custom template for a page not found error . How do I add CSS code ?

Thanks.

Re: 404 page css ?

Posted: Tue Apr 05, 2016 2:57 am
by diego
Hi,
you can check the 404 page with the variable $Url->notFound();

Code: Select all

<?php

if( $Url->notFound() ) {
 // LOAD THE CSS
}

?>