Chapter 3. Making Your Theme Responsive: The Ground Floor

So far we’ve looked at Responsive Web Design (RWD), its best practices, and some of the core functionality of WordPress, including themes. Now it’s time to go through the steps of actually making a responsive theme in WordPress.

The first things we will look at in this chapter are various responsive techniques; we’ve already explored Media Queries, but there are also Responsive Design + Server Side Components (RESS), JavaScript, and even a built-in WordPress function that will help along the way. Then we’ll start the groundwork for our responsive theme.

RESS will allow us to dynamically call snippets of PHP code, HTML, JavaScript, or even entire templates based on the device being used ...

Get Responsive Design with WordPress: How to make great responsive themes and plugins now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.