Welcome, guest!

Feel free to read the blog, browse for themes, or join the club.

CSS import paths

  1. maybe this has something to do with a server setting, but i have to use absolute paths for all CSS calls. to keep it simple, take into consideration the print stylesheet importing 18px.css

    inside /wp-content/themes/hybrid/library/css/print.css?ver=0.6 i have @import url('18px.css'), but thats a 404 (Yslow warned me)

    thanks

  2. You must be a logged-in exclusive member to view this reply.

  3. > That @import should return a 404 unlesss you have an 18px.css file in the root of your child theme folder.

    that import is what is inside the default print.css, as it shipped from the factory. of course it fails, there are no CSS files in the root.

    > You should use relative paths for importing from your child theme's style.css file:

    the reason for writing is exactly that relative paths do not work, but return a 404, at least as reported by YSlow. could this be some server setting?

    thanks

  4. You must be a logged-in exclusive member to view this reply.

  5. thanks. im going to follow up with YSlow

    http://developer.yahoo.com/yslow/

Reply

You must log in to post.

Limited Access

If you have an account, please take a moment to log in.

Non-exclusive members have limited access to the support forums.

To enjoy the full range of support, sign up for an exclusive membership in the theme club.

Support Forums

  • Bliss Theme (202 posts)
  • Hybrid Theme (17,034 posts)
  • Options Theme (10,322 posts)
  • Structure Theme (2,624 posts)
  • Visionary Theme (767 posts)
  • bbPress Themes (293 posts)
  • WordPress Plugins (1,617 posts)
  • General Discussion (3,979 posts)