Title: creating basic template but error message &gt; Stylesheet is missing
Last modified: February 9, 2020

---

# creating basic template but error message > Stylesheet is missing

 *  Resolved [ernandes13](https://wordpress.org/support/users/ernandes13/)
 * (@ernandes13)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/creating-basic-template-but-error-message-stylesheet-is-missing/)
 * Hi,
    Im trying create a simple template using two files
 * index.php – the main template file
    style.css – the main style file
 * like in this help and another videos on youtube explain.
    [https://developer.wordpress.org/themes/getting-started/what-is-a-theme/](https://developer.wordpress.org/themes/getting-started/what-is-a-theme/)
 * but when I try install my new theme, the message appears.
 * **Broken Themes
    The following themes are installed but incomplete. Name > siteTeste
   Description > Stylesheet is missing.
 * I have an index.php with this simple code inside:
    <h1>test</h1>
 * style.css with this code inside:
    /* Theme Teste Author: Me Author URI: [http://www.xxx.com](http://www.xxx.com)
   Description: My first responsive HTML5 theme Version: 1.0 */
 * Is it necessary another file?
    How do I fix it? Thanks

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [Davood Denavi](https://wordpress.org/support/users/binarywc/)
 * (@binarywc)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/creating-basic-template-but-error-message-stylesheet-is-missing/#post-12414659)
 * Is your theme in wp-content/themes/teste ?
    If there is another subdirectory 
   under teste or whatever you named the directory then you will receive the error
   you mentioned.
 * Hope this helps.
 *  Thread Starter [ernandes13](https://wordpress.org/support/users/ernandes13/)
 * (@ernandes13)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/creating-basic-template-but-error-message-stylesheet-is-missing/#post-12415009)
 * Hi [@binarywc](https://wordpress.org/support/users/binarywc/)
    thanks for reply
   I don’t have another subdirectory inside “siteTeste” See my folder and files 
   structure:
 * wp-content (folder)
    -themes (folder) –siteTeste (folder) —slyle.css (files) —
   index.php (file)
 * Inside themes folder I have another themes like
    twentynineteen twentyseventeen
   twentysixteen twentytwenty
 * Any idea?
 *  Thread Starter [ernandes13](https://wordpress.org/support/users/ernandes13/)
 * (@ernandes13)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/creating-basic-template-but-error-message-stylesheet-is-missing/#post-12415070)
 * I found the problem [@binarywc](https://wordpress.org/support/users/binarywc/)
   
   index.php with i(uppercase) Index.php my good Thanks for your time
 *  [Davood Denavi](https://wordpress.org/support/users/binarywc/)
 * (@binarywc)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/creating-basic-template-but-error-message-stylesheet-is-missing/#post-12415299)
 * Glad you figured it out. Some servers won’t spit back that error over capitalization
   issues with file names, most will though. I probably wouldn’t have been able 
   to figure out that’s what it was workout a screenshot.
 * Happy blogging!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘creating basic template but error message > Stylesheet is missing’ is
closed to new replies.

## Tags

 * [css](https://wordpress.org/support/topic-tag/css/)
 * [missing](https://wordpress.org/support/topic-tag/missing/)
 * [template](https://wordpress.org/support/topic-tag/template/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [Davood Denavi](https://wordpress.org/support/users/binarywc/)
 * Last activity: [6 years, 4 months ago](https://wordpress.org/support/topic/creating-basic-template-but-error-message-stylesheet-is-missing/#post-12415299)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
