In Part 2f, you will finalize the Comments Sass module, which includes respond form, the list of comments, and then the components with the comments itself. You’ll think through all the components and then break up the partials. Next, you’ll migrate the media queries, identify and assign variables, and then refactor to remove redundancies and make it more readable. Lastly, you’ll commit the changes using git.
Prerequisites
This hands-on lab is Part 2f of a multi-part “Let’s Build a Custom Developer’s Genesis Starter Child Theme” series. Before you do this lab, make sure that you have completed:
- Part 1 – Introduction to Modularity
- Part 2a – Modular CSS Using Sass
- Part 2b – Navigation Sass Module
- Part 2c – Header Sass Module
- Part 2d – Footer Sass Module
- Part 2e – Entry Content Sass Module
To learn more about this series and each of the parts, see the main lab found here. It also includes all of the prerequisites that you will need to build this theme.
Your functions are bloated. Put them on a diet. Think "skinny" and "as few lines as possible."
Episodes
Total Lab Runtime: 00:21:29
- 1 Lab Introductionfree 01:06
- 2 Break Out the Stylespro 07:16
- 3 Refactorpro 09:03
- 4 Push it to GitHubpro 04:04