From the course: WordPress and Genesis: Building Child Themes from Scratch
Unlock the full course today
Join today to access over 22,400 courses taught by industry experts or purchase this course individually.
Add HTML5 Reset
From the course: WordPress and Genesis: Building Child Themes from Scratch
Add HTML5 Reset
- It's time to start adding styles to our theme and this is where we'll really see things start to come together. We've talked about the importance of documenting code and the stylesheet is no difference. As we begin to add styles we'll keep things organized with the table of contents. Now how you choose to organize your stylesheet is completely up to you while WordPress speaks to the coding standards of CSS it doesn't specify any particular order of items. Let's go ahead and create that empty table of contents. Now let's turn to the Genesis Sample Theme. The Genesis Sample Theme is a bare bones minimal trial theme created for the Genesis framework. Looking at the code is really helpful if you just want to see the basics. Let's take a look at their stylesheet. The first thing we noticed in their table of contents is this HTML5 Reset. What this code does is basically reset your CSS so that any initial browser styles are stripped. This gives you more control in predictability about how…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.