Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member

What is responsive design?

From: WordPress: Building Responsive Themes

Video: What is responsive design?

If I ask you how you access the web these days, I bet your answer will be something like "with my phone" or "with my tablet" before it is "on my desktop computer." With the introduction of smartphones and tablets, the way people visit and interact with the web has changed completely. In the past, the web was focused mainly on desktop computers with ever larger screens. Now, the web needs to focus on the exact opposite: mobile computers and smaller screens. You may have heard the term responsive design or possibly responsive layouts bandied about, and you may have a general idea of what it is.

What is responsive design?

If I ask you how you access the web these days, I bet your answer will be something like "with my phone" or "with my tablet" before it is "on my desktop computer." With the introduction of smartphones and tablets, the way people visit and interact with the web has changed completely. In the past, the web was focused mainly on desktop computers with ever larger screens. Now, the web needs to focus on the exact opposite: mobile computers and smaller screens. You may have heard the term responsive design or possibly responsive layouts bandied about, and you may have a general idea of what it is.

Regardless, let me give you a short primer. What you see here is the original Responsive Web Design article written by Ethan Marcotte and published on A List apart on May 25th, 2010. This article outlines what was to become the definition of responsive web design. The idea presented in the article is that any web site should conform and realign the content to the device that's accessing it so that if the screen is big, you have a lot of content; if the screen is small, you reorganize the content so that it fits and give the users a good user experience.

This idea was quite revolutionary when the article was published, but now responsive design has become the new standard for the web, and it should be the new standard for the web, because we as web developers and designers need to ensure that when people visit web sites with different devices they should get a consistent experience through all these different devices so that they recognize the web site and they know what's going on. But that's all theory. Let's look at some examples. First, let's look at a web site that's not responsive. This is the web site I made for the 12x12 Vancouver Photo Marathon several years ago.

It looks great on a desktop, and it functions quite well. However, if I reduce the size of my window, you will see that this site is not responsive. If I reduce it down past the standard width of the site, you will see that the margins of my window start covering content. And to access the content, I have to use a scrollbar, scroll left and right. And if you were to visit this site using a cell phone or a tablet, you'd notice you'd have to do pinch-and- zoom behavior to be able to see all the content and read it. That is not a good user experience, and that is not responsive design.

If you want to employ responsive design on a WordPress site, you really don't have to go any further than the 2011 theme, which is the stock theme for WordPress. The 2011 theme is already responsive. So, if I reduce the size of the window here, you will see that the content reorganizes and reshapes to fit the size of the window. And you will see that content like the sidebar will appear when there's room for it and disappear, or rather, move down to the bottom of the site, when there's no room.

This allows for a consistent look and design across multiple devices without forcing the users to have to do extra behaviors to get to all the content. Lastly, let's take a look at the project we are going to be working on in this course. For this course, I created a new WordPress theme that you can work with, you are going to customize, and that you can use for your own web site if you want to when you are done. This theme is fully responsive, and you can see it when we resize the window. The front page has a masonry layout that automatically reorganizes the content depending on the size of the screen.

And you will notice that in addition, the menu changes from a standard list menu to a more advanced menu when the screen gets small enough so that it's easier to use on touch devices. If we go to single posts, you will see that on small screens the title and all the information is on top. But as we scale up the window, you will see that the title and other information slide to the left side, leaving the content on the right.

The whole point of having a web site is for people to be able to access the information on that web site. That means as the technology landscape changes, so the web site has to change to accommodate this new reality. Responsive design is at the heart of this new paradigm.

Show transcript

This video is part of

Image for WordPress: Building Responsive Themes
WordPress: Building Responsive Themes

39 video lessons · 17578 viewers

Morten Rand-Hendriksen
Author

 
Expand all | Collapse all
  1. 4m 5s
    1. Welcome
      1m 4s
    2. Using the exercise files
      1m 27s
    3. What you should know before watching this course
      1m 34s
  2. 8m 36s
    1. What is responsive design?
      4m 16s
    2. The different faces of WordPress on mobile
      1m 55s
    3. Exploring the finished Anaximander theme
      2m 25s
  3. 9m 38s
    1. Getting and installing the Anaximander theme
      1m 53s
    2. Configuring basic theme options
      7m 45s
  4. 23m 51s
    1. Deciding what screen sizes to design for
      4m 11s
    2. Thinking responsively: Designing for many different screen sizes
      6m 23s
    3. Visualizing content realignment for better markup
      4m 35s
    4. Designing menus
      4m 52s
    5. Adding responsive images and videos
      3m 50s
  5. 26m 8s
    1. What are media queries and how do they work?
      4m 18s
    2. Exploring CSS3, progressive enhancement, and graceful degradation
      3m 27s
    3. Understanding best practices for media queries
      3m 57s
    4. Creating a responsive frame
      5m 12s
    5. Customizing media queries with the Chrome Developer Tools
      5m 28s
    6. Taking device width into account
      3m 46s
  6. 11m 1s
    1. Resizing the site title and the description
      8m 22s
    2. Adding media queries to the header
      2m 39s
  7. 11m 22s
    1. Making the menu responsive
      3m 35s
    2. Creating a different menu design for small screens
      7m 47s
  8. 19m 22s
    1. Making a responsive single-post layout
      6m 11s
    2. Making images responsive
      4m 37s
    3. Making videos responsive by including FitVids
      8m 34s
  9. 7m 45s
    1. Making the sidebar responsive
      5m 10s
    2. Hiding sidebars on mobile
      2m 35s
  10. 7m 28s
    1. Dealing with footer widgets
      5m 11s
    2. Adding navigation links that return to the top of the page
      2m 17s
  11. 12m 54s
    1. Using FlexSlider to create a responsive slider
      6m 2s
    2. Creating a loop to show sticky posts in a featured slider
      6m 52s
  12. 24m 37s
    1. What is jQuery Masonry?
      3m 41s
    2. Installing jQuery Masonry
      4m 45s
    3. Configuring the index page with Masonry
      7m 0s
    4. Using CSS to finalize the Masonry layout
      6m 17s
    5. Adding media queries to the Masonry index
      2m 54s
  13. 9m 11s
    1. Exploring hidden features of the Anaximander theme
      5m 51s
    2. Where to go from here
      3m 20s

Start learning today

Get unlimited access to all courses for just $25/month.

Become a member
Sometimes @lynda teaches me how to use a program and sometimes Lynda.com changes my life forever. @JosefShutter
@lynda lynda.com is an absolute life saver when it comes to learning todays software. Definitely recommend it! #higherlearning @Michael_Caraway
@lynda The best thing online! Your database of courses is great! To the mark and very helpful. Thanks! @ru22more
Got to create something yesterday I never thought I could do. #thanks @lynda @Ngventurella
I really do love @lynda as a learning platform. Never stop learning and developing, it’s probably our greatest gift as a species! @soundslikedavid
@lynda just subscribed to lynda.com all I can say its brilliant join now trust me @ButchSamurai
@lynda is an awesome resource. The membership is priceless if you take advantage of it. @diabetic_techie
One of the best decision I made this year. Buy a 1yr subscription to @lynda @cybercaptive
guys lynda.com (@lynda) is the best. So far I’ve learned Java, principles of OO programming, and now learning about MS project @lucasmitchell
Signed back up to @lynda dot com. I’ve missed it!! Proper geeking out right now! #timetolearn #geek @JayGodbold
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ .

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

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.


Mark all as unwatched Cancel

Congratulations

You have completed WordPress: Building Responsive Themes.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member ?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferences from the dropdown menu.

Continue to classic layout Stay on new layout
Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.