How to Approach a Responsive Design

By Tito Bottitta January 26, 2012

Array of mobile devices. BostonGlobe.com is designed to work on all of them.

So I've got a confession to make: When we started working on the new Boston Globe website, we had never designed a responsive site before.

This shouldn't come as some huge shock. I mean, raise your hand if you'd built a full responsive site back in November 2010. (You can put your hand down now, Mr. Marcotte, that was rhetorical.) Since so few had done it — and certainly not on this scale — we kind've made things up as we went along. In fact, the entire Boston Globe team worked in a laboratory environment.1

Here at Upstatement, we experimented with how to solve design and layout problems within a responsive framework. We learned a helluva lot as we went, like how to choose the right design software, strategies for thinking through breakpoints, and some best practices for designing in the browser.

Ready? Good. Cos here we go …

Choose Your Weapon

Before laying down a single pixel, there was an important decision to make: What design program to use?

Eventually design would be done directly in the browser — there's no better tool for interactive design, especially when you're working with fluid layouts (more on all that later). But first we needed to establish the aesthetic and plan high-level pages. It helps to answer the big questions before getting to the browser — and it was imperative for a site as sprawling as The Boston Globe, with lots of specific page templates and multiple iterations for each breakpoint.

So we lined up the usual suspects from Adobe. Who would be our partner in crime — Photoshop? Illustrator? InDesign?

Adobe Usual Suspects image

Hands down, the answer was InDesign. At its core, BostonGlobe.com is a publication website, and InDesign is the best tool for laying out publications and content. Yes, there are huge differences between designing print publications and designing for the web, but consider this: Most web pages are simply a combination of photos and text. And where Photoshop excels at manipulating images (but sucks at type) and Illustrator is exceptional at typography (but sucks with images), InDesign is built for both.

Even better, InDesign's internal logic parallels that of web design and development. Every new document begins with a grid. It uses type and object stylesheets that should be familiar to anyone who has used CSS, allowing you to change the characteristics of every headline (or object) from one master style.

InDesign stylesheets

InDesign stylesheets

For type, you adjust all the attributes you'd expect (size, color, font, kerning, tracking), and others you might not like space before / space after (which is basically just margin), and CSS3 techniques like shadow and gradient. This way of working maps directly to development work, from the style names down to the design characteristics.

InDesign master pages pallette

InDesign's master pages palette

Like the web, InDesign also has a notion of templates. We used master pages to hard-code common elements and create a baseline for every section, article, or project page. Heck, you can even nest InDesign files inside of InDesign files. Change the header once and it automatically updates in every template — just like using an include.

Try creating a complex system like that in Photoshop.2

And Now It’s Time for a Breakdown

With InDesign locked and loaded, we were ready for the fun part — the design itself.

Knowing that we'd nail down details in the browser, early designs aimed to answer big questions. What are the key breakpoints? What do major templates look like at each breakpoint? What do the header and footer look like? What content appears on the homepage, various section fronts, and article page? What's the overall look and feel?

Lucky for us, there was an all-star team in place to help us answer some of these questions. We had Scott Jehl, Todd Parker, and the super-smart crew at Filament Group as well as two hired guns/all-around badasses in Ethan Marcotte and Mat Marquis. From the Globe, Miranda Mulligan expertly guided the whole process.

We sat down together at the beginning to lay out some of those high-level design decisions. Most important were the breakpoints, the screen widths where we would optimize our designs. A fluid grid would fill the spaces in between and adapt the design to widths that we hadn’t explicitly considered (like the funky size of the Kindle Fire, which debuted a full year after we chose our breakpoints).

To figure out the breakpoints, we surveyed the available devices — smart phones, dumb phones, tablets, laptops, PCs, etc — and set some limits for ourselves. For a minute we thought, “What if we designed for TVs!” But the use case was too narrow. In the end, we settled on six breakpoints, heavily influenced by standard smartphone dimensions and the dominance of the iPad:3

With breakpoints established, we used InDesign's master pages to create templates with appropriate grids for every breakpoint, then designed key pages for every width.

Designing Downward

“When I get to the bottom, I go back to the top of the slide ...”

– The Beatles

Y'all might've noticed something in the last section. I talked about the design breakpoints from largest to smallest. Gasp! That's not a strictly Mobile First approach. Uncool, man.

Well, while I love the sentiment and certainly practice it when coding a responsive site, it just wasn't the way we designed.

Our designs began at 960px, arguably the most complicated breakpoint, with several columns of content. Maybe this just came naturally after years of designing for that width. But I think it's more than that. It's easier to design with more screen real-estate — you see more at one time, you have a more nuanced hierarchy. And it wasn't just for this project; we've designed subsequent responsive sites the same way.

So starting at 960, we designed downward. Every decision informed the one before it and the one after; we flipped back and forth between breakpoints a lot. As the Mobile First mantra suggests, designing for mobile was most instructive because it forced us to decide what was most important. And since we refused to hide content between breakpoints, the mobile view could send us flying back up to the top level to remove complexity.

The process felt a bit like sculpting. We started with a big block and worked our way down, paring as we went, giving the site its shape. Later, when we started coding, there was a shift. Design had answered the big questions, freeing the development to take a layered approach, with a stylesheet that defined the base and then added more complexity (up and up and up) based on device-width and capability.

We loved working this way. As I design anything, I'm asking myself what's absolutely necessary and how I can simplify. The responsive design process regimented this way of thinking. Stepping through each breakpoint helped us stay simple.

Putting it into Practice

The header is a great case study in designing responsively. Even though it was the first design element that we completed, the team kept iterating on it. We continually refined the design while Scott and Ethan rewrote the code to make it perfect for every situation.

But let's start with the basics. The header needed to support The Boston Globe flag, search, weather, classifieds, account info, basic site utilities, not to mention the navbar, itself a world of complexity. The nav has eight standard sections that derive directly from the newspaper (News, Sports, Arts, etc.), plus Today's Paper and My Saved List.

960px

Again, we started at 960px. The header does some heavy lifting — lots and lots of requirements up in there. We settled on a balanced arrangement that followed our simple design aesthetic. In the nav, everything fits perfectly across a nice horizontal line. And what fits at 960 also fits at 1200px (not pictured). So far, so good.

With so much content in each section and the multitude of subsections (each one has at least six), we designed a super-dropdown in the navigation that allows quick access to top stories and subcategories within each section.

Boston Globe navigation at 960px
768px

At 768, things start to condense a bit. Space is getting tight. We ask ourselves, what are the shortest possible section names? Is it necessary to take up precious real estate with a section called "home"? (Answer: No.) What happens in between the major breakpoints? Can we use longer section names with ellipses? (Answer came in code: And, ummm, no way. Not unless you're comfortable asking folks to click on "Today's Pap …")

In these designs, My Saved was excluded from the navigation, largely because of space constraints. At larger widths, we expected it to appear fixed at the bottom of each page. But — oops — fixed positioning has sketchy support on some tablets, so we decided to roll it into the nav.

Boston Globe navigation at 768px
600px

OK. 600px. No way everything fits. We've got to do some organizing and make some judgment calls. First thing to go is the super-dropdown. It's a progressive enhancement and besides, isn't a key feature.

Now space is tight not only in the nav, but around the Globe logo. We ask ourselves: What are the most important navigation items? What's absolutely essential? Certainly search. That's not going anywhere. It's tough to prioritize the individual sections, so they're organized into a section called, creatively enough, "Sections." Today's Paper and My Saved are the odd ones out. They're sections, sure, but they're fundamentally different than the others. Plus, we really want to promote My Saved, which is a personal list of saved stories that you can read later (even offline).

Boston Globe navigation at 600px
480px

The first major design change occurs at the mobile breakpoint for landscape view, where weather pops up to the top and the flag lines up with the navigation. This keeps the header compact. Otherwise, users wouldn't have seen much of anything on the first screen.

We also ran out of room to support Today's Paper, which folds into the "Sections" dropdown. To save space on search, it turns into a button that shows the input box when clicked.

Boston Globe navigation at 480px
320px

In mobile portrait view, we regain some vertical screen space, so the header stacks again.

Here's another example where we simplified things in code. The initial design called for different dropdown styles for the sections at nearby breakpoints. But with coding comes clarity. Eventually we realized that it was easier to employ the same design for each breakpoint.

Boston Globe navigation at 320px

Looking at the header, I ignored one key element: Weather. Clicking weather at any breakpoint opens a drawer with the five-day forecast. While it doesn't deserve a play-by-play account, the progression is worth a look. You can see how the layout transforms from horizontal to vertical, and condenses as it goes. This design barely changed in the transition to code.

Boston Globe navigation with weather

On the Benefits of Designing in Browser (Or, Why Static Designs Kind've Suck)

Before we get too far, let's get something straight: We hate trying to show all the complex facets of an interactive design using design software like InDesign or Illustrator. It's inefficient, inaccurate and incomplete.

Only a masochist could enjoy producing page after page of comps just to show a simple link state or a dropdown animation. I can't tell you how many times I thought I had things like that figured out only to throw it away once coding commenced. All that time is better spent just coding the behavior.

And in the end, your design isn't an accurate representation of the final product — it's not usable. You can't place it in front of users and get much feedback of any value (unless you like to let users dictate your color scheme).

It's also easy to leave things out of a static design. What happens when the user clicks here? What happens to the design between these breakpoints? In code, you've got to answer these questions. With static pages, it's easier to ignore.

Getting to the Browser

Obviously, we wanted to move into code quickly. As soon as the big design questions were nailed down, that's just what we did. This point actually came quite early in the process — after a couple weeks of static design, we started iterating in code.

Here's generally how things worked:

This is what Ethan refers to as Design-velopment. (Yeah, we still don't have a better name.) The heart of it is really in the conversation, the discourse between design and code. Everyone around the table was an excellent designer, and we all made contributions in different ways.

During the static comping phase, Upstatement was at the wheel, driving the design. When we delivered designs, of course we hadn't thought of everything. But everyone else was there to ask lots of questions about what was best for the user, what worked on different devices, and how the designs translated at different widths.

When the conversation continued into code, Filament took the wheel and everyone else was still there to ask questions.

In between our weekly meetings, we volleyed back in forth using different mediums. Sometimes we'd send simple code notes and sometimes they'd send quick Photoshop mockups to communicate design thoughts. Code is fast, but these tools are still often faster for quickly communicating a concept.

The process was a total joy, and we've adopted it for the projects we've worked on since. The key is understanding that the design conversation is a long one, it may start with static comps but it continues through development. The more you can fuse the two (in your process and in your personnel) the more successful you'll be.

Footnotes:
  1. Experimentation was a hallmark of this project, so feel free to imagine the entire team wearing white lab coats and goggles, Dr. Bunsen & Beaker style. Here's how it went down: Ethan, Scott, and Mat concocted media query polyfills and solved for responsive images while over at the Globe itself, Miranda, Jeff Moriarty, and their group tested a novel process inside of a big bureaucracy.
  2. It's not as if Photoshop was cut out of the process. We still used it when the program made sense — like, say, tweaking the details of our icon set.
  3. I’m zooming through the discussion of breakpoints, so if you want to more, check out Ethan’s brilliant little yellow book.
  4. And hey, sorry about the footnotes. Too much David Foster Wallace.

51 Comments

Leave a Reply

*

1

thrilla says

In my office we call it or Devigning. Thanks for all the insight!

2

IwoMar says

Thanks for sharing your process and the process of discovering it! The result is obviously great.

3

Clevertail says

It's very inspiring reading this article.

I am currently working on a fairly similar project, I have for the most part established my break points, but I'm not 100% sure on whether or not I should have as many as you decided to have. Curently I have just three break points.

Thanks so much for this article, it's nice to know I'm not the only one venturing into a responsive web design project, just I'm going it alone! Haha!

4

Jayesh says

Amazing.
You opened my eyes. Now its time for me to move to InDesign for web designing. Since I was always confused b/w Ps and Ai.

5

Jason says

Thanks for sharing! You guys did a great job.

6

Jochen says

BostonGlobe.com "jumps" a lot. While loading the page it arranges the images and loads the fonts every page view. That kinda bugs me.

7

Alastair McDermott says

Super post, love to see a project walkthrough like this, gives a great feel for how other people work.

Has anyone used Keynote for mockups?

8

Vic says

Great article, i'll try to approach like this in my next project.
PS: I hate the fixed top bar, when I scroll I expect content to follow my orders, lol

9

Hung-Su says

Design-velopmment? Why not dev-igning? =)

10

Bybe says

Its not often you see such big posts which are actually useful and enjoying to read, like the fact you included examples of the Boston global, Thanks once again for sharing Tito

11

Kyro says

"I always thought of it as something web design “hacks” used because they had no photoshop chops."

Really? IMHO the actual hacks are people that make "pictures of webpages" with Photoshop and trick themselves into thinking they are designing web pages.

12

ingo says

great article! since indesign has the pixel-option it is a great tool for webdesign. but don't tell the traditional webdesigners. they love fireworks and photoshop, often don't look left and right. I don't dare to tell anybody that I am using indesign (or even illustrator) for wireframes and web development. the people here in germany would gaze at me with eyes wide opened!
for everybody who wants to get deeper working with indesign: have a look at eightshapes' unify, an amazing toolset for making web deliverables!

13

Prodyot says

You guys are genius.
You accomplished a great responsive project when there were not enough material about it anywhere in this globe.
Superb.
And, this is a great post.
I learnt a lot from this post.
Thanks.

14

Ruben Rojas says

I will like to read more about the use inDesign for the process of mockups or design, sounds awesome. Thanks

15

krasnal2 says

hey hey you can call me crasnal man, that's what i am

16

Florrie Behnke says

nice blog

17

Aaron says

Nice and Punny!

18

Marquis Julson says

This really answered my problem, thank you!

19

THAT guy. says

Kind've would be a contraction of 'kind have' which kind've doesn't make sense.

20

Carlo Rizzante says

PS. Something seems to be funnily wrong with the size you set up for emoticons.

21

Carlo Rizzante says

Thanks for the article, inspiring.
Though, I would like to read answers to the questions been asked along the comments.

Beside, I was sure only architects use InDesign for designing website in millimeters. I was wrong :)

For sure, we need a better tool for designing now that responsiveness is more and more a requirement. Something that could combine the capabilities exposed on this very page. It might come.

22

Beata Walberg says

I appreciate the article, it was interesting and compelling. I found my way here through Google, I shall get back one more time :)

23

Adham Dannaway says

I haven't tried designing a website in inDesign before. Surely it would be better to simply create the template pages in Photoshop (maybe that's just what I'm used too?)

24

Anonymous says

Great post!

25

Anonymous says

Excellent article!

I'm saddened to see such an immature view of tools in the comments. These tools, whether it be Photoshop, Illustrator, Fireworks, Indesign, or even programming languages just enable us to bring our ideas to fruition.

"The tool doesn't make the craftsman" - Oliver Reichenstein

26

Anonymous says

Awesome post! I will keep an on eye on your blog.

27

Anonymous says

Great article. I've been developing an InDesign workflow in my agency for about a year now. We've done several large sites with it, and overall our process has improved greatly. My focus, in a large part, has been on collaboration. Several sites we've built have required 3-4 designers working on it at the same time. InDesign is set up for just such a thing... and the use of tools, like DropBox in conjunction with a properly organized file structure of linked assets makes re-use of common elements and updates to unique items super easy. In my mind, the benefits of this system, over the 3 to 6 months it takes to get a layout designed, presented, approved, and revised FAR outweighs the ability to slice a graphic up for production use. I could go on and on about the benefits of InDesign (and the pitfalls as well), but I'm most interested in how you handled your clients expectations with regards to a responsive design? Meaning, You ultimately had to produce (at least) 3 versions of each page to account for the various layout changes at each size. Normally, our clients (most clients, for that matter) would expect to see and approve an entire site in static form, before moving to development. How did did you present it to them, that developing the minimum in static form, them moving to browser prototypes was the best solution? and did you get any resistance from senior management at the Boston Globe?

Thanks for any insite you can offer! And let me know if you want to compare notes.

28

Anonymous says

Great article, thanks for sharing. My two-cents as a web designer of 10 years: InDesign for web? Wow, never considered. It does make sense on many productivity levels (the ones you pointed out so accurately - CSS styles), and works well within this example of a newspaper, only I feel creativity is often limited by the "boxiness" of the layout process in InDesign and lack of styles and filters to add special touches, photoshop will never be replaced for that. I have a feeling thought that web design will be moving in that direction so InDesign is a tool to watch, certainly in terms of Front-End development & implementation, if not for design itself. Having said that, Photoshop still beats any other program for pure image quality and design freedom (IMO) - it just needs updating for optimising the export process.

The perfect web design program is still missing - but some kind of convergence between all the adobe tools MUST be on the cards... I just want to flip between the functionalities of the programs, using the same file - when will they get round to this? Why should I need to open different programs?

Cheers All!

29

Anonymous says

commenter #10 is a psychopath

30

Anonymous says

very interesting article! I will follow your themes.
Can I subscribe to your posts on Twitter or on your Facebook profile?

31

Anonymous says

Seeing some comments against using InDesign is a reminder how closed-minded the design community can often be. There's no single tool that's appropriate for every job - you have to take a look at what you're trying to accomplish and determine the best way to get there. Sometimes that way is to go against conventions, and I think the design for the Boston Globe website demonstrates that quite well.

32

Anonymous says

I love the new design and really appreciate the supporting insights in this case study. One thing as an aside... I'm an advocate for accessibility standards, especially for something as widely-read as the Boston Globe.

I did a quick check of your light gray text contrast and came up with this result, using this tool:

Colour Check
Your colour combination of #aaaaaa and #ffffff does not pass Checkpoint 2.2

Brightness
The difference in brightness between your foreground and background colours is 85 and is therefore insufficient. The W3C recommends a standard of 125 or greater.

Contrast
The contrast between your foreground and background colours is 255 and is therefore insufficient. The W3C recommends a standard of 500 or greater.

33

Anonymous says

Great write up. My curiosity is especially piqued with your use of indesign. I have been experimenting with how to used lined images / text styles in photoshop, but just felt that indesign was too print focused to do the job. I even wrote a post about using linked smart objects in phostoshop. My technique works for images, but still lacks in connecting text / paragraph styles, as the actual code does. I look forward to the possibility of trying out indesign in my next project.

34

Anonymous says

Indesign is for print. It has no tools for slicing or exporting images for the web in a proper way, so in my opinion it shouldn't be used for that. As a web developer I think it is a nightmare.

I agree that Photoshop is the best tool for images and Illustrator is for typography, and none should be used for web design.

There is another Adobe tool that is perfect for web design- Fireworks. I think it's the best option for anything related to web.

Except for the design program you picked, I think the article makes some very interesting points.

35

Anonymous says

Thanks for this. Great insight into a break-through design (first large-scale responsive site).

36

Anonymous says

What are your thoughts on Adobe Fireworks? It is a great tool for web design. You are able to create pages, just like InDesign, and then you can link layers/sections of those pages to symbols/styles. Then when you update a sections style it will update all other sections that is linked to that style.

You can do this with backgrounds, link text, heading 1/2/3/4 text style and I can have a universal 'read more' button. Pretty nifty stuff.

37

Anonymous says

But how do the KPIs score between these breakpoints? Does it make sense to have these breakpoints from a UX/ROI perspective or is this just visual optimization for iPhone & iPad and was using some zooming and dropping half of the breakpoints never considered?

38

Anonymous says

Wow, Indesign. I always thought of it as something web design "hacks" used because they had no photoshop chops. I might have to rethink that.

This constant communication between designer and developer isn't something that really happens in the shop I work for.

The PSD is often delivered as the source file for production. With images, and necessary graphics being trimmed out of it and turned into HTML. I see this as being old fashioned, and designers are slow to change. They've learned this in career colleges and make no real attempt to upgrade their skills, and assume a "first in, first out" role in the web development process.

Maybe this is a better way of keeping them "in" the project.

39

Anonymous says

You guys! this is awesome! Thanks for the write-up.

40

Anonymous says

Thanks for posting. I am keenly interested in every facet of the process you took with the Boston Globe and other sites. While more has been written recently about Responsive Design there is still more that needs to be said. Your simple list of breakpoints, for instance, is information that I searched for over a period of months last summer and fall. Information like that seems obvious but it is not.

41

Anonymous says

Thanks for telling the story how it was, we all are aware of these projects are never a bed of roses, and documenting those thorns is a great way to give back to the community.

Regardless of how we feel the whole project unfolded it was and still is a major success for modern web design-velopment! Kudos to all involved.

42

Anonymous says

I like the design but you should rename MY ACCOUNT and MY SAVED LIST to something less presumptuous. YOUR ACCOUNT would be better, but ideally the design and placement should not even need the YOUR prefix. The MY prefix is sooooo bad and I wish designers would realise that it was a bad phase the web went through 10 years ago and that now we all know better, right?

43

Anonymous says

Hi there,

great write-up. I'd be interested in hearing what consideration you gave to page size going to mobile and the trade-offs you made.

Lar

44

Anonymous says

An excellent case for InDesign up front, and a great insight overall. Thank you!

45

Anonymous says

Call me crazy, but I actually like seeing how the sausage is made. Nice writeup!

46

Anonymous says

Loved the Design-velopment. What a great insight
into your process. Thank-you.

And *now* I can come out of the closet.
(Always started off in ID, too.
- Of course, not with the same results as you ; )

47

Anonymous says

Finally, after years of advocating InDesign for web design, it's becoming a much clearer choice.

48

Anonymous says

Perfect insight into remarkable feat! Thanks for sharing a look-behind-the-scenes.

I understand the smaller breakpoints up till 960px as a 'golden' alternative towards 1024px. But I'm curious to know why the 'wide' version was set at 1200px and maxed?

Why not set the breakpoint higher so 1440px and up have a more full-screen experience, or was it a matter of reading the analytics?

49

Anonymous says

Really great insight into the process guys, thanks

50

Mike says

A really great walkthrough. It's refreshing to hear your honesty on how this venture into responsive design was very experimental. I think a lot always gets figured out as you go, but often ego pretends that it was known all along.

I'm impressed by your weekly meeting approach. I'm curious how you first presented that type of working relationship to your client. It seems that while we designers must get over the idea of flat files being perfected prior to code it is an even tougher challenge to get the traditional client to accept a relationship like that. Any pointers on that?

51

Keri says

Not only did I read to the end with fervor, but I jumped for joy at your David Foster Wallace reference! Nice!!