- This topic is empty.
-
AuthorPosts
-
May 17, 2013 at 6:41 pm #44856AnonymousInactive
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
Version: 1.0
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.
May 17, 2013 at 6:45 pm #135489TheDocMemberMust be `style.css`.
May 17, 2013 at 6:48 pm #135490AnonymousInactive@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.
May 17, 2013 at 6:52 pm #135491TheDocMemberI’m saying the file name must be style.css, not styles.css
May 17, 2013 at 6:54 pm #135493AnonymousInactive@TheDoc I do have it as style.css i just wrote it like that here without realizing.
May 17, 2013 at 6:57 pm #135494AlenParticipantThe `style.css` file (not “styles.css”) must be in the theme folder `wp-content/themes/**your-theme**/style.css`.
May 17, 2013 at 6:59 pm #135495AnonymousInactive@AlenAbdula That’s what i did and wordpress recognized it. But then this is what i get http://www.reallycoolstuff.net/wordpress/
May 17, 2013 at 7:06 pm #135496AlenParticipantWe need more information. How did you set up your theme/templates?
May 17, 2013 at 9:45 pm #135499AnonymousInactive@AlenAbdula i actually created the entire theme as an HTML template and then decided to make it a wordpress theme.
May 17, 2013 at 10:30 pm #135500AlenParticipantI 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
-Alen
AuthorPostsViewing 10 posts - 1 through 10 (of 10 total)- The forum ‘CSS’ is closed to new topics and replies.