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


Building a wordpress theme - where is the css file i need to copy????

Hi, I have just started the course 'Wordpress Theme Development'. I went through the first stage nice and easily. Now on the second stage of the course, 'Adding CSS to a Theme Via the functions.php File', he copies some code from another file and pastes it into the style sheet. Where can I find this code???? Its seems he has just jumped a huge step ahead and not told us where to get the code from, please can someone help :-(

Also the video previous to that one, called 'Porting Over Static Template CSS', I don't understand where to find the code to copy over here either...? Am I missing a big step somewhere?

Lucas Santos
Lucas Santos
19,315 Points

If you ever have doubts in any video on what code he is using just scroll down and look below the video for the project files and download them. Inside you will find all the files and code he went through in the video.

1 Answer

Sue Dough
Sue Dough
35,800 Points

Are you talking about this? https://codex.wordpress.org/Theme_Development

Theme Name: Twenty Thirteen
Theme URI: http://wordpress.org/themes/twentythirteen
Author: the WordPress team
Author URI: http://wordpress.org/
Description: The 2013 theme for WordPress takes us back to the blog, featuring a full range of post formats, each displayed beautifully in their own unique way. Design details abound, starting with a vibrant color scheme and matching header images, beautiful typography and icons, and a flexible layout that looks great on any device, big or small.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: black, brown, orange, tan, white, yellow, light, one-column, two-columns, right-sidebar, flexible-width, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, translation-ready
Text Domain: twentythirteen

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.