I just uploaded a theme but the it says the following:
The following themes are installed but incomplete. Themes must have a stylesheet and a template.
Distinct Stylesheet is missing.
I did however include a stylesheet. Does anyone know what the problem is?
I found a post on wordpress that said everything has to be in the same folder so I moved everything to one folder.
Now the message is gone, but I can’t see my theme…
Another post said that I have to create my folder and then my folder-news and put in it the style.css and main page.
I did that, still nothing…
what is your theme? or did you create your own? just follow the folder structure of the default theme if you created the theme.
The path should look like this:
– not like this:
– and not like this:
The issue must then be something within the theme itself. Does your style sheet begin like this:
Theme Name: Distinct
Theme URI: //www.your_site.com/
Description: Blah blah, so and so, short description here…
Author: Your Name Here
Author URI: //www.your_site.com/
Reference item 3 on this page: http://codex.wordpress.org/Theme_Development
are you sure you have these at the beginning of your style.css?
/* Theme Name: Distinct Theme URI: http://yourURL.org/ Description: This wordpress theme was created for Distinct. Version: 1.0 Author: distinctnews Author URI: http://distinctnews.com/ Tags: distinctnews, distinctnews Distinct, Distinct, Distinct, Distinct, Distinct, Distinct MDistinct v1.0 This theme was designed and built by E distinctnews, http://distinctnews.com/ */
or check your other if they have template name at the beginning.
or check your typo.
Awesome, now it’s up! 😀
One problem though, the page is all text with no layout design. Any idea?
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
PS: My style sheet is named style.css not stylesheet if that helps or changes the code you gave me.
That code (in general) might often be found in header.php.
I recommend you read all you can on how to create a theme and the basic WordPress theme structure. The link I posted above, and searching in the Docs will reveal a lot of information on the subject, and there are sure to be many good “by the numbers” tutorials found on Google as well.
Perhaps inspecting the file contents of a few pre-existing themes (other than the default theme) would be of benefit as well.
Awesome, I just pasted it at the very top of my style.css and it worked.
The only thing missing is the pictures. For some reason they got unlinked. Can you please tell me what need to be inside my /wp-content/themes/Distinct/ and if I can create sub-folders?
Thanks again for all the help!! I really appreciate it!
I just pasted it at the very top of my style.css and it worked.
php code doesn’t normally belong in a style sheet, and that is not a correct solution. Think about it for a minute. If you were creating a site in just HTML, would you find or place the path to the style sheet inside of the style sheet?
Can you please tell me what need to be inside my /wp-content/themes/Distinct/
I’m afraid I can’t. You created the theme. You can create sub-folders if you like, just as long as your files properly reference the path to any assets located in those folders. Clearly you are going to do this your own way the first time rather than take a breather and pay attention to advice or any published learning materials, but I do admire your focus. Carry on, soldier!
Good luck and best wishes!!
- The topic ‘Stylesheet is missing?’ is closed to new replies.