Skip to main content
Making Sites
Mobile-friendly

    Meghan Palagyi
Can Drupal sites look
  good on mobile
Can Drupal sites look
  good on mobile

        Yes!
Mobile Sites &
Mobile Apps
Mobile Sites &
    Mobile Apps

A mobile site is navigated to through a
  mobile browser like Opera or Safari
Mobile Sites &
    Mobile Apps

A mobile site is navigated to through a
  mobile browser like Opera or Safari
Mobile Sites &
    Mobile Apps

A mobile site is navigated to through a
  mobile browser like Opera or Safari


     A mobile app is a custom built
application that users download to their
                 device
Internet on the Go
Internet on the Go
• 11” to 17” laptops
• Netbooks
• Tablets and iPads
• iPhones and iPods
• Android phones
• Feature phones
Does your site
work in every
Does your site
   work in every
• Content visibility
• Layout hierarchy
• Text size
• Navigation and menus
• Image re-sizing
Is your site
reaching your
Is your site
   reaching your
• Early-adopters vs. late-adopters
• Technology interest level
• Hand-eye coordination and agility
• Browsing frequency
Designing for Without
 Comfortable Limits
Designing for Without
     Comfortable Limits

• Size of canvas
• Target Audience
• Needs
• Location
Planning: Things to consider
when designing in a mobile
           world
Planning: Things to consider
 when designing in a mobile
            world

• Touchscreens and touch navigation
• Accessibility
• Performance
• Page ‘Pace’
Method: Using
@media queries
Method: Using
 @media queries
• The adaptive, responsive approach
• Mobile first, designing for the
  fastest use from the beginning

• Design your theme with @media
  queries
Method: A
separate mobile
Method: A
 separate mobile
• Create a sub-theme specifically for
  mobile device use

• Need to integrate either browser or
  device detection

• Can be easier for pre-existing sites
• Should include the option for users
  to view the ‘desktop’ version
Mobiletools
Mobiletools
• drupal.org/project/mobile_tools
• Contrib module that allows you to
  manage a mobile sub-theme

• Choose which devices use which
  theme

• Can also assign permissions for
  mobile users
Which Method?
Which Method?
• Quote from original article
    “Responsive Web Design” by Ethan
    Marcotte
•   Fluid grids, flexible images, and media queries are the three
    technical ingredients for responsive web design, but it also
    requires a different way of thinking. Rather than quarantining
    our content into disparate, device-specific experiences, we can
    use media queries to progressively enhance our work within
    different viewing contexts. That’s not to say there isn’t a
    business case for separate sites geared toward specific devices;
    for example, if the user goals for your mobile site are more
Testing your Site
Testing your Site
• Test on actual devices to see your
  site

• Browser add-ons
• Mobile simulators
Cutting Out
 Content?
Cutting Out
         Content?
• Faster and more tailored
• Core information of site
• Not what people are expecting to
  see

• Can control with @media queries
  and mobile tools
Milk at the
Grocery Store
Milk at the
    Grocery Store
• Mini Display up front by the cashier,
  pints and gallons of skim, 2% and
  whole

• Full selection in the refrigerated
  section, know exactly where your
  brand and flavor of soy milk is
• Meghan Palagyi
• On Drupal and Twitter:                   dead_arm

• Resources:
 •   http://alistapart.com/articles/responsive-web-design/

 •   http://drupal.org/project/mobile_tools

 •   http://mobileportland.com/videos/myth-mobile-context

 •   http://www.springbox.com/mobilizer/
Thanks!
• Meghan Palagyi
• On Drupal and Twitter:                   dead_arm

• Resources:
 •   http://alistapart.com/articles/responsive-web-design/

 •   http://drupal.org/project/mobile_tools

 •   http://mobileportland.com/videos/myth-mobile-context

 •   http://www.springbox.com/mobilizer/