• Resolved cromermusic

    (@cromermusic)


    I’ve just started with a new theme but the style.css file is empty when I look at it in Theme Editor. In my local text editor it shows and it looks like this:

    /*
    Theme Name: My Theme
    Theme URI: *******
    Author: *****
    Author URI: ******
    Description: My own WordPress Template
    Version: 1.0
    License: GNU General Public License v2 or later
    License URI: https://www.gnu.org/licenses/gpl-2.0.html
    Text Domain: mytheme
    
    */
    
    /* START */
    body { 	background-color:
    	font-family: Verdana;
    	font-size: 16px; }
    
    	 #wrapper { box-shadow: 0 2px 6px rgba(100, 100, 100, 0.3);
    		margin: 0 auto;
    		width: 960px; }

    and the header.php finds the stylesheet and uses it when I look at the site in Theme Preview. I can’t figure out what is wrong?

Viewing 1 replies (of 1 total)
  • Thread Starter cromermusic

    (@cromermusic)

    For some reason unknown I fixed it by simply putting the invincible text back into the empty style.css and saving again.

Viewing 1 replies (of 1 total)
  • The topic ‘Stylesheet Invicible in Template Editor’ is closed to new replies.