Bummer! This is just a preview. You need to be signed in with a Treehouse account to view the entire video.
Porting Over Static Template CSS1:24 with Zac Gordon
In this video we import the CSS from our static template into our style.css file.
Now, that we have our basic files set up, so that we could activate our theme, we're
so that we properly pull in all of our styles and scripts for our site.
In the project downloads folder we have the static theme,
which was the original HTML, CSS, and
What we're going to do is open up style.css file.
And copy all of the content into the bottom of our style.css file,
where we have the special Word Press comment at the top.
One important thing to mention here is this @import rule.
In Word Press the best way to link to either external or additional CSS
files is via the functions.php file, which we created earlier.
So, what we're going to do is in the next video we'll look at how to properly,
from Word Press perspective, link to this CSS file.
As well as, to the additional CSS files that come with our static template.
You need to sign up for Treehouse in order to download course files.Sign up