404 page css ?

Post Reply
mahmut
Ssr. Bludit
Posts: 24
Joined: Fri Feb 12, 2016 2:27 pm

Mon Apr 04, 2016 1:31 pm

Hello , I want to create a custom template for a page not found error . How do I add CSS code ?

Thanks.
User avatar
diego
Site Admin
Posts: 704
Joined: Sat May 16, 2015 2:53 pm
Contact:

Tue Apr 05, 2016 2:57 am

Hi,
you can check the 404 page with the variable $Url->notFound();

Code: Select all

<?php

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

?>
Post Reply