WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] alternate stylesheet for one page only (3 posts)

  1. kuleana
    Member
    Posted 7 years ago #

    Simple question I'm sure, but I haven't been able to find a specific solution anywhere after much searching.

    How do I call a different stylesheet for one page only?

  2. Bodhipaksa
    Member
    Posted 7 years ago #

    You could create a unique template for the Page that calls the stylesheet.

    Replace the call to the header with something like <?php include(TEMPLATEPATH . '/header-new.php'); ?>

    Header-new.php would be a copy of your regular header file but with the call to the css changed.

    http://codex.wordpress.org/Stepping_Into_Templates is a good place to start.

    This assumes that when you say pages you mean Pages.

  3. kuleana
    Member
    Posted 7 years ago #

    Worked perfectly. Many thanks.

Topic Closed

This topic has been closed to new replies.

About this Topic