WordPress.org

Ready to get started?Download WordPress

Forums

transforming in a theme: stylesheet missing (5 posts)

  1. bobrock4
    Member
    Posted 1 year ago #

    "stylesheet missing" is the message in manage themes area. In my theme i've a folder called css. In this folder i've a folder called fonts than these files: ie7.css ie8.css print.css reset.css screen.css. I've also tried to move all these files to the upper level (that of the index.php).

    Why does it say "stylesheet missing"?

    Thanks and ciao
    Roberto

  2. Do you have a file called style.css in the main theme folder, which starts with a theme header? You need that.

    If you have the main stylesheet structured the way it needs to be, you're welcome to keep all of your other stylesheets in their own folder, but the main one must be set up as above.

  3. bobrock4
    Member
    Posted 1 year ago #

    Many thanks Amy,

    following your advice and some wordpress instructions i've made a style.css file similar to this one

    /*
    Theme Name: Twenty Ten
    Theme URI: http://wordpress.org/
    Description: The 2010 default theme for WordPress.
    Author: wordpressdotorg
    Author URI: http://wordpress.org/
    Version: 1.0
    Tags: black, blue, white, two-columns, fixed-width, custom-header, custom-background, threaded-comments, sticky-post, translation-ready, microformats, rtl-language-support, editor-style, custom-menu (optional)
    
    License:
    License URI:
    
    General comments (optional).
    */

    and the theme is now activable from administration panel. :-)

    The theme is not working correctly. Do you thing should I put there some instructions to made him working with the other css files that i've put in a daughter folder ?

    Thanks and ciao :-)

  4. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    what theme are you working with?

    name and download link?

    what stylesheets is the theme linking in header.php?
    are there any @import code inthe stylesheets?
    have you moved the .css files from their original location to a sub folder, for instance?

  5. bobrock4
    Member
    Posted 1 year ago #

    I'm working on a theme made by some friends of mine, it's not a public project.

    In header.php there are link to some css files that are under a folder called css. These links seem correct.

    Any @import css code and files are in the same place as before (under that folder called css). If you open the page with a browser (for instance index.php) they works and all web styles are correct. If I open the site with wordpress I've lost web graphics styles.

    Ciao

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags