Support » Fixing WordPress » Adding more than one stylesheet

  • Hi there,

    I’m trying to add more than one stylesheet to a template that I’m creating. style.css works just fine, but I can’t seem to load structure.css, which is where I’ve stored all the characteristics for the divs.

    Another topic in the forum recommends that you use <link rel="stylesheet" type="text/css" media="screen" href="<?php echo get_template_directory_uri(); ?>/pagestyle.css" /> to load a unique stylesheet on a particular page, but that didn’t work in this case, since structure.css should load on every page.

    I also tried just loading a stylehseet (link rel="stylesheet...") like you would on a static HTML page, but that also failed.

    Does anybody have any ideas?

Viewing 1 replies (of 1 total)
  • Michael


    Forum Moderator

    if you call
    <link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/structure.css" type="text/css" />
    in header.php (in the head section), i don’t see any reason why it shouldn’t work on every page 😉

Viewing 1 replies (of 1 total)
  • The topic ‘Adding more than one stylesheet’ is closed to new replies.