skip to Main Content

When I go to upload the theme which is a zip file onto WordPress it keeps on showing missing style.css.

Screenshot of WordPress' "theme is missing the stylesheet" message

I tried to do different environments such as Windows 10 if that was the issue, even tried to use MAMP instead of XAMPP but still the same error.

I have the style.css in my zip file but still its showing missing.

Screenshot of theme files

2

Answers


  1. the style.css file needs to be in the root directory of your theme not in subfolders.

    Login or Signup to reply.
  2. It seems like you’ve tried a few different solutions already. One thing you could check is the structure of your theme’s zip file. WordPress expects a certain file structure in theme zip files. The style.css file should be directly inside the main theme folder, not nested inside another folder.

    Here’s an example of what the structure should look like:

    /mytheme
     /style.css
     /index.php
     /other files and folders...
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search