2 Seprate CSS Stylesheets? (3 posts)

  1. rahulkhosla
    Posted 3 years ago #

    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?


  2. Robin W
    bbPress.org Moderator
    Posted 3 years ago #

    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.

  3. rahulkhosla
    Posted 3 years ago #


Topic Closed

This topic has been closed to new replies.

About this Topic