• I’m trying to create a new theme. In my stylesheet named styles.css I added the appropriate heading with this:

    /*Theme Name: Mobile
      Theme URI: https://mysite.com
      Description: Mobile theme for WordPress
      Version: 1.0
      Author: Elixir
      Author URI: https://mysite.com
    */

    and in index.php i just added “hello”

    I uploaded them correctly and checked to see if they’re there and they are.

    When i go to dashboard/appearance/themes my theme doesn’t show up but instead I get the message…

    Broken Themes

    The following themes are installed but incomplete. Themes must have a stylesheet and a template.
    Name Description
    Mobile Stylesheet is missing.

    But the style.css and index.php are in the correct directory and uploaded correctly

    What am i doing wrong?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Try adding some CSS to the stylesheet.

    Did you name the stylesheet styles.css? It needs to be style.css ??

    download the default theme wordpress an see style.css

    At there you can find

    /*————–sidebar————–*/
    /*————–header————–*/

    and something like that…., now you write this at your stylesheet,,,

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Help!! Problem with creating new theme’ is closed to new replies.