• 2 Seprate CSS Stylesheets? How does that work?

    At the moment in my header.php file I have:
    <link rel="stylesheet" href="<?php echo get_stylesheet_uri(); ?>" media="screen" />

    I want to have 2 different stylesheets eg, styles.css and layout.css

    Is this possible?

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Presuming you want to do this just to keep things neat and tidy for you, then why not get you style.css to import the layout.css.

    Then anything you setup in layout.css will be kept in the layout file, but used in the style file.

    so in your style.css have as your first active line after the theme name etc.

    @import url(“../layout.css”);

    Think that should work.

    Thread Starter rahulkhosla

    (@rahulkhosla)

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘2 Seprate CSS Stylesheets?’ is closed to new replies.