WordPress.org

Ready to get started?Download WordPress

Forums

Changing location of stylesheet (3 posts)

  1. onocentaur
    Member
    Posted 7 years ago #

    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...
    thanks!

  2. onocentaur
    Member
    Posted 7 years ago #

    never mind. worked it out myself - just changed the stylesheet tag in the head...

  3. Samuel Wood (Otto)
    Tech Ninja
    Posted 7 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic