You upload a theme zip and WordPress stops with "The package could not be installed. The theme is missing the style.css stylesheet." Or a theme shows up under Appearance, Themes as "Broken Themes" with "Stylesheet is missing." The theme is usually fine. WordPress just cannot find its style.css where it expects it. Here is how to tell which case you have, and the fix for each.
harbor/) and directly inside it a style.css whose top comment starts with Theme Name:. If the zip holds another zip, or a folder inside a folder, that is the fault..php file with Plugin Name: and no style.css) belongs under Plugins. A GitHub source download (named like theme-main.zip) may hold build files rather than the theme itself.wp-content/themes/ and look inside the named folder: style.css should be right there, not one folder further down.style.css directly inside. On the server, move the inner folder's contents up one level, then reload Appearance, Themes.style.css has a Template: line naming the parent folder. Install that parent theme (same folder name) and the child works.wp-content/themes/ instead, then activate it.style.css: the top comment must still start with /* and contain Theme Name: Something. A file saved with a byte-order mark or a deleted first line hides it. Re-download the theme rather than patching it.| What you see | What it means | Usual fix |
|---|---|---|
| "The theme is missing the style.css stylesheet" on upload | No style.css at the top of the zip's folder | Upload the inner theme zip, or re-zip one folder |
| "Broken Themes: Stylesheet is missing" | The theme folder on the server is nested or incomplete | Move files up one level, or re-upload by FTP |
Zip holds documentation/, licensing/ and more zips | A marketplace "full package" | Upload the installable theme zip inside it |
| "The parent theme is missing" | A child theme whose parent is not installed | Install the parent theme first |
Zip has a .php with Plugin Name: | It is a plugin | Install it under Plugins |
style.css to make the error go away. WordPress will list a theme that has no templates and your site will break when you activate it.wp-content/themes/.Most cases are one zip opened and one folder moved. If the theme still will not install, that is what the box below is for. Related: "The plugin does not have a valid header", "Incompatible archive", "Destination folder already exists".