CSS for one static page
-
Hi all,
i know this question has been asked before, but I still cannot figure this out.
Ik have 1 page called ‘De schoolgids’ that i want to style with a different stylesheet then default.
my schoolgids.css is located in the subfolder /css
I added the following code in my header.php:
<?php if (is_page('De schoolgids')) { ?> <link rel="stylesheet" type="text/css" href="<?php bloginfo('template_url'); ?>/css/schoolgids.css" /> <?php } ?>For some reason is does not accept this.
What am i doing wrong??
The topic ‘CSS for one static page’ is closed to new replies.