need a code for external stylesheers per page_id
-
After hours of modding and searching I found this:
<?php if (is_page(1)):?> <link rel="stylesheet" href=<?php echo bloginfo('template_directory'); ?>/css/svib.css" type="text/css" /> <?php else:?> <link rel="stylesheet" href="<?php echo bloginfo('template_directory'); ?>/css/index.css" /> <?php endif;?>
And guess what, it aint working.
My css files need to differ per certain pages, how do I accomplish this??
All help is appreciated thanks a bunch.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘need a code for external stylesheers per page_id’ is closed to new replies.