Support » Themes and Templates » Changing location of stylesheet

Changing location of stylesheet

  • Hi,
    I’m building a theme to integrate my blog into the rest of my website. The website already uses a single stylesheet located in the root folder (the blog is in a subfolder); how can I make my theme use that stylesheet?
    At the moment I have a copy in my themes folder which isn’t ideal…

Viewing 2 replies - 1 through 2 (of 2 total)
  • never mind. worked it out myself – just changed the stylesheet tag in the head…

    Moderator Samuel Wood (Otto)


    WordPress.org Tech Dude

    A better way (or at least, a different way) would be to add this sort of thing to your theme’s stylesheet:
    @import "stylesheetname.css";

    That lets you include one stylesheet inside another.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Changing location of stylesheet’ is closed to new replies.