CSS-Tricks is brought to you in part by Media Temple, the web hosting that we both use and recommend.
I just started learning WordPress today and am trying to add a new theme. I added this to the top of my style.css file
Theme Name: WordPress Theme
Theme URI: http://reallycoolstuff.net/wordpress
Description: Fully Responsive WordPress Theme
Author: Jarolin Vargas
Author URI: http://domain.com
Tags: responsive, theme, template
and added this to index.php file to link the style.css sheet.
Must be `style.css`.
@TheDoc it had something to do with it. I simply moved the styles.css to the same directory the index.php file was and it shows up in wordpress. But now it’s all just blank. Nothing is showing.
I’m saying the file name must be style.css, not styles.css
@TheDoc I do have it as style.css i just wrote it like that here without realizing.
The `style.css` file (not “styles.css”) must be in the theme folder `wp-content/themes/**your-theme**/style.css`.
@AlenAbdula That’s what i did and wordpress recognized it. But then this is what i get http://www.reallycoolstuff.net/wordpress/
We need more information. How did you set up your theme/templates?
@AlenAbdula i actually created the entire theme as an HTML template and then decided to make it a wordpress theme.
I understand. But without seeing the code. It’s hard to diagnose the problem. I’ve [created the most basic starter theme](https://github.com/alenabdula/clean_wp) based off HTML 5 Boilerplate for you, if you are just starting out, keep it simple.
Refer to [WordPress Template hierarchy](http://codex.wordpress.org/Template_Hierarchy) and copy the index.php to fit whatever template you are targeting.
Hope that helps
You must be logged in to reply to this topic.
Search for Stuff
Browse the Archives
Get the Newsletter
... or get the RSS feed