Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress How to Make a Website with WordPress Customizing WordPress Themes How to Make Child Themes

My CSS. style file is coming up different and as a safari page rather than whatever that black page is. Help?

Have uploaded child theme and it's registering on wordpress, however its saying there is 'no template'. Think this has something to do with my style.css folder. It's coming up as a safari page (rather than the.. dreamweaver?) and looks alot different to what's on the class.

Any idea what I'm doing wrong!?

4 Answers

Sue Dough
Sue Dough
35,800 Points

What CSS? I don't see any code. Post your code.

:)

Thanks!

Brad Griffin
Brad Griffin
7,003 Points

Stuart, copy / paste the actual code you've used that's at the top of the style.css file. The part about template, author, theme name, & author url. Remember that part? Post it here so we can look at it.

I sorted the code bit, I had just uploaded the CSS file from the 2013 template rather than the one from 'project downloads'. Only problem is now I can't edit the CSS file as it opens with safari. What program is Zac displaying the CSS in? Also just out of interest, what is the significance of Author URL?

/* Theme Name: Twenty Thirteen Child Theme URI: http://http://wordpresstreehouse.com// Description: Child theme for the Twenty Thirteen theme Author: Zac Gordon Author URI: http://wp.zacgordon.com/ Template: twentythirteen Version: 1.0 */

@import "../twentythirteen/style.css"

Sue Dough
Sue Dough
35,800 Points

Hey you need to download a text editor. Use sublime http://www.sublimetext.com/ . Then you need to open the file with sublime. The author URI is just a way for people using the theme know who the author is. Consider it some free link promotion if your distributing the theme.