Support » Fixing WordPress » Page specific CSS

  • Resolved skeeterz71

    (@skeeterz71)


    Hi,

    I am not sure what I am doing wrong. When I wrap my style sheet in the if statement, my style sheet ceases to work. If I remove the if statement, works just fine.

    <?php if (is_page_template('home.php')){ ?>
    <link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/css/homepage.css">
    <?php } ?>
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Page specific CSS’ is closed to new replies.