• Resolved rhender

    (@rhender)


    Trying to figure out how to link to a specific stylesheet on only one page.

    Would someone mind telling me how to…

    I did the following in my header.php, and it did not work…

    <?php if (is_page('Contact') ) {
    <link rel="stylesheet" media="all" href="https://my-site.com/contact-conditional.css" />;
    	}?>

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘how to add css to one page’ is closed to new replies.