-
Book Overview & Buying
-
Table Of Contents
Learning less.js
By :
If you've spent any time working with CMS systems, then you will likely have come across the concept of using themes to customize your site and add or remove features as you see fit.
WordPress is no different; it uses a system of themes to customize its appearance; throughout this chapter, we're going to follow this principle and see how we can use Less to help simplify the process. Before we start writing code, it's worth taking a moment to examine the anatomy of a WordPress theme.
First, we need to download the WordPress source files, which are available at http://wordpress.org/latest.zip; at the time of writing this, the latest version is 3.9.1. When we open the WordPress archive, navigate to wp-content | themes | twentyfourteen. We'll see something akin to this:

All of these files are required to operate the Twenty Fourteen theme that comes with this version of WordPress; we will be using this theme as a basis for our exercises throughout this chapter...
Change the font size
Change margin width
Change background colour