In this video, learn how to add brand new CSS properties to WordPress.
- [Instructor] The child theme style sheet … is not just for overriding existing styles … from the parent theme, you can also use it … to add entirely new styles. … So let me give you a practical example of this … that also contains some fairly advanced CSS. … We have a lot of recipes on our blog … as well as regular blog posts, … and it's pretty common to style different genres … a little differently. … If I scroll through my list of posts, … in the Element Inspector, I can see that Recipes … have a class of category recipes. … So I'll scroll up here and under article, … I can see category dash recipes. … I can use this class to write entirely new styles … that apply only to that category. … As before, we'll start by doing that … in the Style Editor so we can design in the browser. … And instead of selecting an existing selector, like .entry … we're going to use a new one. … So we're going to click this little plus button, … New Style Rule, and that'll automatically … give me a New Style Rule and the Style Rule …
- Setting up your development environment and editor
- Picking a parent theme
- Creating a child theme
- Including style sheets
- Creating and modifying styles
- Modifying functions
- Hooking functions
- Creating and modifying template files
- Adding menus and functionality
- Migrating theme files to a live WordPress site
Skill Level Intermediate
Using the exercise files1m 13s
1. Building on a Solid Foundation
2. Creating a Child Theme
3. Child Themes and CSS
4. Working with Function Files
5. Working with Template Files
6. Add New Functionality
7. Wrapping Up
Next steps1m 4s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.