(Locked) The style.css stylesheet doesn't contain a valid theme header.


#1

I have followed both suggestions to upload my theme “cheope” but it’s not working, now I get this message: The style.css stylesheet doesn’t contain a valid theme header.

What should I do?

Thank you,

Galit


#2

I am having the same trouble. What should we do?


#3

Format it as follows:

/**

Theme Name: TODO

Theme Description: TODO

*/


#4

@itsmattadams thank you. it seems that worked well. But I got a new message:

The theme is missing the index.php file.

And this index.php file isn’t in any of the folders. Can you help me again?


#5

Ignore the post above, you don’t need to add anything to anything. The problem is you’re trying to upload the entire zip file which also includes documentation and license information. You need to extract the zip to find the theme zip inside.

Edit: Unless you’re trying to upload the zip of a HTML template to WordPress. Double check you actually have a WordPress theme.


#6

@PaulWinslow I upload the .zip file only with the folder theme.

I bought this one: http://themeforest.net/item/beauty-center-htmlcss-template/2572647?sso?WT.ac=search_item&WT.seg_1=search_item&WT.z_author=FamousThemes

Bad quality, I suppose.


#7
ebilman said

@PaulWinslow I upload the .zip file only with the folder theme.

I bought this one: http://themeforest.net/item/beauty-center-htmlcss-template/2572647?sso?WT.ac=search_item&WT.seg_1=search_item&WT.z_author=FamousThemes

Bad quality, I suppose.

That is not a WordPress theme but a pure html template.

#8