Skip to:
Content
Pages
Categories
Search
Top
Bottom

Stylesheet not recognized

  • @cyberquill

    Member

    I just installed bbPress and I’m trying to create my own theme to match my WP Blog theme.

    So I created a new Folder under my-templates called “my-theme” and I copied all the files from the kakumei default theme into my-theme, the expectation being that my-theme would now look the same as kakumei (since it contained the same files), and I could go about tweaking those files to my liking. (I’ve used the same process to tweak the WP Default theme on my blog, and now it looks like this, the very look I intend to create for my bbPress Forum).

    Problem is, my-theme does not recognize style.css, so it comes out like this. It simply refuses to apply the styles in my-templates/my-theme/style.css.

    I’m assuming the code line ‘<link rel=”stylesheet” href=”<?php bb_stylesheet_uri(); ?>” type=”text/css” />’ should hook up with style.css in the my-templates/my-theme folder, just as it does in bb-templates/kakumei.

    Why is the stylesheet not being recognized?

Viewing 10 replies - 1 through 10 (of 10 total)
  • @rich-pedley

    Member

    http://forum.cyberquill.com/my-templates/my-theme/style.css

    is in the header, but it can’t find the file(404). So double check it really is there.

    @rich-pedley

    Member

    http://forum.cyberquill.com/my-templates/my-theme/style.css

    is in the header, but it can’t find the file(404). So double check it really is there.

    @cyberquill

    Member

    Yes, it really is there, but it gives a 404 error.

    forum/bb-templates/kakumei/style.css works.

    forum/bb-templates/kakumei/screenshot.png works.

    etc.

    forum/my-templates/my-theme/style.css –> 404 error.

    forum/my-templates/my-theme/screenshot.png –> 404 error.

    etc.

    Basically, all the URLs in forum/bb-templates/kakumei/ work, and all the files in forum/my-templates/my-theme/ produce a 404, even though bb-templates and my-templates are located on the same level in the hierarchy tree, so either both should be 404, or neither.

    I don’t understand.

    @cyberquill

    Member

    Yes, it really is there, but it gives a 404 error.

    forum/bb-templates/kakumei/style.css works.

    forum/bb-templates/kakumei/screenshot.png works.

    etc.

    forum/my-templates/my-theme/style.css –> 404 error.

    forum/my-templates/my-theme/screenshot.png –> 404 error.

    etc.

    Basically, all the URLs in forum/bb-templates/kakumei/ work, and all the files in forum/my-templates/my-theme/ produce a 404, even though bb-templates and my-templates are located on the same level in the hierarchy tree, so either both should be 404, or neither.

    I don’t understand.

    @cyberquill

    Member

    Putting the URL for my blog stylesheet into header.php works. I’ll just use that one. Probably more efficient anyway, since I want the same look.

    Still mystified, though, why style.css in the same folder as header.css is not being found.

    @cyberquill

    Member

    Putting the URL for my blog stylesheet into header.php works. I’ll just use that one. Probably more efficient anyway, since I want the same look.

    Still mystified, though, why style.css in the same folder as header.css is not being found.

    @ashfame

    Participant

    @ashfame

    Participant

    @cyberquill

    Member

    Yep. That was it. Just a matter of checking a few boxes. Thank you.

    @cyberquill

    Member

    Yep. That was it. Just a matter of checking a few boxes. Thank you.

Viewing 10 replies - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.
Skip to toolbar