How to Import WordPress Parent Theme Styles


show more Importing parent theme styles provides you with in-depth training on Web. Taught by Morten Rand-Hendriksen as part of the WordPress 3: Building Child Themes show less
please wait ...

Importing parent theme styles

When you make a child theme, you start off with a theme that displays all the content without any style. That's because your child theme stylesheet is currently empty. If you're going to build a new layout with completely custom styles this is great because you can start from scratch, but in most cases, you want to import the existing styles from the parent theme and then work based on those styles. There are two ways of doing this and they're used in two very different scenarios, so I'll explain both of them and then I'll show you my recommendation.

The two methods are overwriting versus overriding, and though they sound almost the same, they're very different when you actually do them. What I mean when I say overwriting is this; you go to the parent theme, you copy out all the code from the stylesheet, and you paste all that code into your child theme stylesheet. That way you have full micromanaging control over every little piece of style code in yo...

Importing parent theme styles
Video duration: 4m 19s 3h 11m Intermediate Updated Nov 27, 2012

Viewers:

Importing parent theme styles provides you with in-depth training on Web. Taught by Morten Rand-Hendriksen as part of the WordPress 3: Building Child Themes

Subject:
Web
Software:
WordPress
Author:
please wait ...