Building Responsive Websites with Drupal

Bullseye
BullseyeBullseye
BUILDING RESPONSIVE
WEBSITES WITH DRUPAL
Daniel Tome
DANIEL TOME
Drupal Technical Lead
Twitter: @danieltome
http://danieltome.com
OUR DRUPAL CLIENTS
Building Responsive Websites with Drupal
AGENDA
 Overview of responsive design
 Responsive with Drupal
 Keeping it accessible
 Optimisation considerations
 Look into the future
OVERVIEW OF
RESPONSIVE
DESIGN
The creation of a site that is able to adapt
to the context in which it is being viewed.
WHAT IS A RESPONSIVE WEBSITE
 Based on Adaptive theme
 Mobile viewport. Design looks and feels
like a mobile app
 Haroldparkbymirvac.com
HAROLD PARK MIRVAC
 Based on Bootstrap theme
 3d Slide-In menu – Meny
 Excellent handling of print media
 Bullseye-digital.com
BULLSEYE REBRAND BULLSEYE
 Based on Adaptive theme
 Simplified grid structure
 Telco.nsw.gov.au
TELCOAUTHORITY NSW GOVERNMENT
WHY IS IT IMPORTANT?
NATIVE APPS
 Pros
– Available for offline use
– Provide a quick and smooth experience
– Access to device features (camera, etc)
 Cons
– Expensive
– Limited platform support
– Hard to do well
– You still need a website
ALTERNATIVES
MOBILE SPECIFIC WEBSITE
 Pros
̶ Optimised for speed easier
̶ Can target older devices
̶ No limitations for design
 Cons
̶ Dealing with redirects
̶ Tablets usually are not targeted
̶ Tends to offer an incomplete experience
 Pros
– Only need to maintain a single website
– No need for user agent detection
– No need for specific URL redirects
– Addresses multiple devices: phones, tablets, desktops, tv, etc
– Link sharing works the same for all devices
– Future ready
 Cons
– Same content for all devices
– Cross browser and device incompatibilities
– Generally slower than m.dot website
– Testing time increased
RESPONSIVE WEB DESIGN
MOBILE
FIRST
Progressive enhancement
Mobile first requires a new approach to planning, UX
design, and development that puts handheld devices
at the forefront of both strategy and implementation.
GENERALLY MOBILE USERS ARE ON THE
MOVEAND ARE GOING TO USE YOUR
SITE TO DO BASIC RESEARCH
“
” - lie
– The mobile user is on the move
– The mobile user is easily distracted
– The mobile user needs the information quickly
– The mobile user only wants to carry out one action
– The mobile user wants less content
MOBILE SCENARIOS
DON’TASSUME THAT “MOBILE” USERS
WANT LESS CONTENT“
”
EXISTING NON-RESPONSIVE WEBSITE
Existing website
Audit content
Identify break points
by content not device
RESPONSIVE
WITH DRUPAL
RESPONSIVE HELLO WORLD
https://drupal.org/project/domicile_responsive
DOMICILE RETROFIT
Do not to use on a real website.
 Omega
– https://drupal.org/project/omega
 Bootstrap
– https://drupal.org/project/bootstrap
 Adaptive
– https://drupal.org/project/adaptivetheme
 Zen
– https://drupal.org/project/zen
 Zurb
– https://drupal.org/project/zurb-foundation
MOST COMMON DRUPAL RWD THEMES
Fences
https://drupal.org/project/fences
Turn this:
<div class="field field-name-field-test field-type-text field-label-
above">
<div class="field-label">Foobar field:&nbsp;</div>
<div class="field-items">
<div class="field-item even">Leaner markup means better front-end
performance.</div>
</div>
</div>
Into This
<h3 class="field-label">Foobar field</h3>
<p class="field-foobar">Leaner markup means better front-end
performance.</p>
USEFUL MODULES
 Do Nothing
– Just add padding
 Select Menu
– Show menu in a <select> dropdown box
 Toggle
– Small icon/toggle in header that displays the menu as a popup
 Sidebar fly-out
– Similar to toggle, but allows longer menu structure. (made popular by facebook)
MENU LAYOUTS
 Slideshows/Carousels
 Tables (tabular data)
 Orientation changes: Portrait to Landscape
 Unsupported Browsers
CHALLENGES
 Skip Views Slideshow
 Flex Slider
– https://drupal.org/project/flexslider
 Orbit (Zurb)
– http://zurb.com/playground/orbit-jquery-image-slider
SLIDESHOWS
 Allow access to table outside of theme. Eg: Dowload
 Alternatives with JS
 Demo: http://zurb.com/playground/projects/responsive-tables/index.html
TABLES
 Be careful with viewport zooming
 Use the grid system
 Custom selectors on media queries need to be applied on multiple breakpoints
ORIENTATION CHANGES
KEEPING IT
ACCESSIBLE
RESPONSIVE WEB DESIGN AND
ACCESSIBILITYARE VERY COMPLEMENTARY,
BUT … DOING RESPONSIVE DESIGN DOES
NOT MEAN THAT YOUAUTOMATICALLY HAVE
ANACCESSIBLE SITEAND VICE VERSA.
“
”- Baruch Sachs
 Viewport should be allowed to be zoomed 200%
 Focus order is still important
 Colour contrast between background and
foreground needs to be greater than desktop
MOBILEACCESSIBILITY
 Scrollbars needed when content does not fit viewport
 Must respond correctly to removal of CSS
 Should be readable without specific colours
 Position and reading order must remain the same
 Instead of hiding content with CSS, use DOM manipulation
DESKTOPACCESSIBILITY WITH RWD
OPTIMISATION
CONSIDERATIONS
 Yepnope library
– http://yepnopejs.com/
 Lazy loading
 Adaptive images
– https://drupal.org/project/adaptive_image
– https://drupal.org/project/picture  Used in Drupal 8 core backported to D7
LOADING WHAT YOU NEED
LOOK INTO THE
FUTURE
Strategy for the Mobile Initiative
https://groups.drupal.org/node/207248
John Albin
DRUPAL 8 MOBILE INITIATIVE
Building Responsive Websites with Drupal
1 of 36

Recommended

Responsive Web Designs by
Responsive Web DesignsResponsive Web Designs
Responsive Web DesignsPrasanna Ramamurthy
741 views17 slides
Breaking The Broken Web by
Breaking The Broken WebBreaking The Broken Web
Breaking The Broken WebFITC
1.1K views73 slides
WordPress for mobile by
WordPress for mobileWordPress for mobile
WordPress for mobilerachel_mccollin
1.7K views52 slides
IxDA Toronto Show and Tell - RWD by Nathalie Crosbie by
IxDA Toronto Show and Tell - RWD by Nathalie CrosbieIxDA Toronto Show and Tell - RWD by Nathalie Crosbie
IxDA Toronto Show and Tell - RWD by Nathalie Crosbieixdatoronto
1.1K views22 slides
Creating a crowdsourced contraband reporting web app with a headless Drupal by
Creating a crowdsourced contraband reporting web app with a headless DrupalCreating a crowdsourced contraband reporting web app with a headless Drupal
Creating a crowdsourced contraband reporting web app with a headless DrupalAlberto Rojas
580 views61 slides
Responsive Design by
Responsive DesignResponsive Design
Responsive DesignMarcos Alves
287 views13 slides

More Related Content

What's hot

Responsive Web Design using the Foundation 5 CSS Framework by
Responsive Web Design using the Foundation 5 CSS FrameworkResponsive Web Design using the Foundation 5 CSS Framework
Responsive Web Design using the Foundation 5 CSS FrameworkChris Morrow
1.5K views31 slides
Trip advsiorhybridpresentation by
Trip advsiorhybridpresentationTrip advsiorhybridpresentation
Trip advsiorhybridpresentationElanaBoehm
824 views17 slides
Responsive Web Design: Advantages & Best Practice - Darrin Adams, Cantarus by
Responsive Web Design: Advantages & Best Practice - Darrin Adams, CantarusResponsive Web Design: Advantages & Best Practice - Darrin Adams, Cantarus
Responsive Web Design: Advantages & Best Practice - Darrin Adams, CantarusInternet World
767 views35 slides
Responsive Web Design - Advantages and Best Practice for Sports Direct by
Responsive Web Design - Advantages and Best Practice for Sports DirectResponsive Web Design - Advantages and Best Practice for Sports Direct
Responsive Web Design - Advantages and Best Practice for Sports DirectCantarus
2K views35 slides
UX Design for the Responsive Web - UX London 2014 Workshop by
UX Design for the Responsive Web - UX London 2014 WorkshopUX Design for the Responsive Web - UX London 2014 Workshop
UX Design for the Responsive Web - UX London 2014 WorkshopMatt Gibson
5.8K views91 slides
Progressive Web Apps: Opera's perspective by
Progressive Web Apps: Opera's perspectiveProgressive Web Apps: Opera's perspective
Progressive Web Apps: Opera's perspectiveAndreas Bovens
695 views75 slides

What's hot(20)

Responsive Web Design using the Foundation 5 CSS Framework by Chris Morrow
Responsive Web Design using the Foundation 5 CSS FrameworkResponsive Web Design using the Foundation 5 CSS Framework
Responsive Web Design using the Foundation 5 CSS Framework
Chris Morrow1.5K views
Trip advsiorhybridpresentation by ElanaBoehm
Trip advsiorhybridpresentationTrip advsiorhybridpresentation
Trip advsiorhybridpresentation
ElanaBoehm824 views
Responsive Web Design: Advantages & Best Practice - Darrin Adams, Cantarus by Internet World
Responsive Web Design: Advantages & Best Practice - Darrin Adams, CantarusResponsive Web Design: Advantages & Best Practice - Darrin Adams, Cantarus
Responsive Web Design: Advantages & Best Practice - Darrin Adams, Cantarus
Internet World767 views
Responsive Web Design - Advantages and Best Practice for Sports Direct by Cantarus
Responsive Web Design - Advantages and Best Practice for Sports DirectResponsive Web Design - Advantages and Best Practice for Sports Direct
Responsive Web Design - Advantages and Best Practice for Sports Direct
Cantarus2K views
UX Design for the Responsive Web - UX London 2014 Workshop by Matt Gibson
UX Design for the Responsive Web - UX London 2014 WorkshopUX Design for the Responsive Web - UX London 2014 Workshop
UX Design for the Responsive Web - UX London 2014 Workshop
Matt Gibson5.8K views
Progressive Web Apps: Opera's perspective by Andreas Bovens
Progressive Web Apps: Opera's perspectiveProgressive Web Apps: Opera's perspective
Progressive Web Apps: Opera's perspective
Andreas Bovens695 views
Development and collaboration tools (1) by Alba Amador
Development and collaboration tools (1)Development and collaboration tools (1)
Development and collaboration tools (1)
Alba Amador586 views
User Experience & Web Product Design by Steve Hickey
User Experience & Web Product DesignUser Experience & Web Product Design
User Experience & Web Product Design
Steve Hickey2.7K views
(Healthcare) make your business mobile with responsive web design by Leisl Schrader
(Healthcare) make your business mobile with responsive web design(Healthcare) make your business mobile with responsive web design
(Healthcare) make your business mobile with responsive web design
Leisl Schrader176 views
scrolling in web design the long and the short of it [INFOGRAPHIC] by iFactory Digital
scrolling in web design the long and the short of it [INFOGRAPHIC]scrolling in web design the long and the short of it [INFOGRAPHIC]
scrolling in web design the long and the short of it [INFOGRAPHIC]
iFactory Digital346 views
Consumer Web in Focus - 65amp.com by alekkus
Consumer Web in Focus - 65amp.comConsumer Web in Focus - 65amp.com
Consumer Web in Focus - 65amp.com
alekkus170 views
WordPress & User Experience - WordCamp St. Louis by Sara Cannon
WordPress & User Experience - WordCamp St. LouisWordPress & User Experience - WordCamp St. Louis
WordPress & User Experience - WordCamp St. Louis
Sara Cannon13.9K views
Adapting to Responsive Design - London Web - Feb 2015 by Matt Gibson
Adapting to Responsive Design - London Web - Feb 2015 Adapting to Responsive Design - London Web - Feb 2015
Adapting to Responsive Design - London Web - Feb 2015
Matt Gibson28.6K views
WordPress & User Experience - WordCamp London by Sara Cannon
WordPress & User Experience - WordCamp LondonWordPress & User Experience - WordCamp London
WordPress & User Experience - WordCamp London
Sara Cannon30.3K views
Playbook for promoting kids' apps by benjamin21st
Playbook for promoting kids' appsPlaybook for promoting kids' apps
Playbook for promoting kids' apps
benjamin21st641 views
Responsive Web Design by danpastori
Responsive Web DesignResponsive Web Design
Responsive Web Design
danpastori642 views

Viewers also liked

Digital Crisis Diagnostic by
Digital Crisis DiagnosticDigital Crisis Diagnostic
Digital Crisis DiagnosticZeno Group Asia
568 views11 slides
Content is the new advertising for websites by
Content is the new advertising for websitesContent is the new advertising for websites
Content is the new advertising for websitesBullseye
1.1K views27 slides
Vocus Smart Start Website Analysis by
Vocus Smart Start Website AnalysisVocus Smart Start Website Analysis
Vocus Smart Start Website AnalysisJeff Zelaya
481 views155 slides
Crisis Handling in the Digital Age by Brandlogist by
Crisis Handling in the Digital Age by BrandlogistCrisis Handling in the Digital Age by Brandlogist
Crisis Handling in the Digital Age by BrandlogistBrandlogist
1.7K views72 slides
IIA Diploma in Digital Marketing - Online PR by
IIA Diploma in Digital Marketing - Online PRIIA Diploma in Digital Marketing - Online PR
IIA Diploma in Digital Marketing - Online PREoin Kennedy
1.1K views89 slides
Addressing Public Relations Crises Caused by Social Media by
Addressing Public Relations Crises Caused by Social MediaAddressing Public Relations Crises Caused by Social Media
Addressing Public Relations Crises Caused by Social MediaAmanda Shoalts
477 views23 slides

Viewers also liked(20)

Content is the new advertising for websites by Bullseye
Content is the new advertising for websitesContent is the new advertising for websites
Content is the new advertising for websites
Bullseye1.1K views
Vocus Smart Start Website Analysis by Jeff Zelaya
Vocus Smart Start Website AnalysisVocus Smart Start Website Analysis
Vocus Smart Start Website Analysis
Jeff Zelaya481 views
Crisis Handling in the Digital Age by Brandlogist by Brandlogist
Crisis Handling in the Digital Age by BrandlogistCrisis Handling in the Digital Age by Brandlogist
Crisis Handling in the Digital Age by Brandlogist
Brandlogist1.7K views
IIA Diploma in Digital Marketing - Online PR by Eoin Kennedy
IIA Diploma in Digital Marketing - Online PRIIA Diploma in Digital Marketing - Online PR
IIA Diploma in Digital Marketing - Online PR
Eoin Kennedy1.1K views
Addressing Public Relations Crises Caused by Social Media by Amanda Shoalts
Addressing Public Relations Crises Caused by Social MediaAddressing Public Relations Crises Caused by Social Media
Addressing Public Relations Crises Caused by Social Media
Amanda Shoalts477 views
Sound the Alarm: Preparing Digital Crisis Communication Strategy (rev.) by Colleen Brennan-Barry
Sound the Alarm: Preparing Digital Crisis Communication Strategy (rev.)Sound the Alarm: Preparing Digital Crisis Communication Strategy (rev.)
Sound the Alarm: Preparing Digital Crisis Communication Strategy (rev.)
How to Manage Your Online Reputation by Bullseye
How to Manage Your Online ReputationHow to Manage Your Online Reputation
How to Manage Your Online Reputation
Bullseye2.9K views
Handling a crisis in the digital age by Crafted
Handling a crisis in the digital ageHandling a crisis in the digital age
Handling a crisis in the digital age
Crafted 495 views
Infographic - Five steps to successful crisis managment for airlines, in the ... by SimpliFlying
Infographic - Five steps to successful crisis managment for airlines, in the ...Infographic - Five steps to successful crisis managment for airlines, in the ...
Infographic - Five steps to successful crisis managment for airlines, in the ...
SimpliFlying2.1K views
Crises Beyond Brands: Web 2.0 and PR Crises by Hayley V Fuller
Crises Beyond Brands: Web 2.0 and PR CrisesCrises Beyond Brands: Web 2.0 and PR Crises
Crises Beyond Brands: Web 2.0 and PR Crises
Hayley V Fuller499 views
Plans Are Useless - Preparing for & Responding to a Crisis in the Digital Age by Charlie Pownall
Plans Are Useless - Preparing for & Responding to a Crisis in the Digital AgePlans Are Useless - Preparing for & Responding to a Crisis in the Digital Age
Plans Are Useless - Preparing for & Responding to a Crisis in the Digital Age
Charlie Pownall1.4K views
How to Minimise Social Media Marketing Risks by Charlie Pownall
How to Minimise Social Media Marketing RisksHow to Minimise Social Media Marketing Risks
How to Minimise Social Media Marketing Risks
Charlie Pownall1.9K views
Review how 3 real estate brands performed in Egypt by Remah El Tohamy
Review how 3 real estate brands performed in EgyptReview how 3 real estate brands performed in Egypt
Review how 3 real estate brands performed in Egypt
Remah El Tohamy475 views
10 Social Media Crises: The good, the bad and the ugly by Stickyeyes
10 Social Media Crises: The good, the bad and the ugly10 Social Media Crises: The good, the bad and the ugly
10 Social Media Crises: The good, the bad and the ugly
Stickyeyes21.6K views
Social Media Crisis Management by AmerMassimi
Social Media Crisis ManagementSocial Media Crisis Management
Social Media Crisis Management
AmerMassimi3.4K views
Crisis pr in a digital world sept 2013 by PRCAtraining
Crisis pr in a digital world   sept 2013Crisis pr in a digital world   sept 2013
Crisis pr in a digital world sept 2013
PRCAtraining954 views
I Am The Media by Alain Thys
I Am The MediaI Am The Media
I Am The Media
Alain Thys45.9K views

Similar to Building Responsive Websites with Drupal

Going Mobile First With Drupal by
Going Mobile First With DrupalGoing Mobile First With Drupal
Going Mobile First With DrupalJesper Wøldiche
5.9K views140 slides
Rise of the responsive single page application by
Rise of the responsive single page applicationRise of the responsive single page application
Rise of the responsive single page applicationOren Shatken
4.8K views21 slides
SES Berlin OMCap 2013 by
SES Berlin OMCap 2013SES Berlin OMCap 2013
SES Berlin OMCap 2013Rachel Pasqua
1.8K views38 slides
Responsive Design by
Responsive DesignResponsive Design
Responsive DesignCindy Royal
5K views13 slides
Workshop 11: Trendy web designs & prototyping by
Workshop 11: Trendy web designs & prototypingWorkshop 11: Trendy web designs & prototyping
Workshop 11: Trendy web designs & prototypingVisual Engineering
823 views68 slides
Responsive Web Design | Website Designing by
Responsive Web Design | Website DesigningResponsive Web Design | Website Designing
Responsive Web Design | Website DesigningMSA Technosoft
134 views20 slides

Similar to Building Responsive Websites with Drupal(20)

Rise of the responsive single page application by Oren Shatken
Rise of the responsive single page applicationRise of the responsive single page application
Rise of the responsive single page application
Oren Shatken4.8K views
SES Berlin OMCap 2013 by Rachel Pasqua
SES Berlin OMCap 2013SES Berlin OMCap 2013
SES Berlin OMCap 2013
Rachel Pasqua1.8K views
Workshop 11: Trendy web designs & prototyping by Visual Engineering
Workshop 11: Trendy web designs & prototypingWorkshop 11: Trendy web designs & prototyping
Workshop 11: Trendy web designs & prototyping
Visual Engineering823 views
Responsive Web Design | Website Designing by MSA Technosoft
Responsive Web Design | Website DesigningResponsive Web Design | Website Designing
Responsive Web Design | Website Designing
MSA Technosoft134 views
Responsive Design by Cindy Royal
Responsive DesignResponsive Design
Responsive Design
Cindy Royal6.4K views
Building Responsive Websites with Drupal by Suzanne Dergacheva
Building Responsive Websites with DrupalBuilding Responsive Websites with Drupal
Building Responsive Websites with Drupal
Suzanne Dergacheva16.5K views
Creating a Responsive Drupal Theme: Presentation from DrupalCamp Montreal 2012 by Suzanne Dergacheva
Creating a Responsive Drupal Theme: Presentation from DrupalCamp Montreal 2012Creating a Responsive Drupal Theme: Presentation from DrupalCamp Montreal 2012
Creating a Responsive Drupal Theme: Presentation from DrupalCamp Montreal 2012
Suzanne Dergacheva2.2K views
How to optimize your blog for mobile traffic by groceryalerts
How to optimize your blog for mobile trafficHow to optimize your blog for mobile traffic
How to optimize your blog for mobile traffic
groceryalerts2.6K views
Mobilizing your Drupal Site - Vancouver League of Drupallers by baronmunchowsen
Mobilizing your Drupal Site - Vancouver League of DrupallersMobilizing your Drupal Site - Vancouver League of Drupallers
Mobilizing your Drupal Site - Vancouver League of Drupallers
baronmunchowsen2.3K views
Breaking the Box: Pushing the Boundaries of UX with Drupal by Acquia
Breaking the Box: Pushing the Boundaries of UX with DrupalBreaking the Box: Pushing the Boundaries of UX with Drupal
Breaking the Box: Pushing the Boundaries of UX with Drupal
Acquia1.2K views
Introduction to a Responsive Master Page with the Design Manager by ShareGate
Introduction to a Responsive Master Page with the Design ManagerIntroduction to a Responsive Master Page with the Design Manager
Introduction to a Responsive Master Page with the Design Manager
ShareGate1.9K views
Mobile Web Overview https://www.edocr.com/v/k52p5vj4/ by Jack Zheng
Mobile Web Overview https://www.edocr.com/v/k52p5vj4/Mobile Web Overview https://www.edocr.com/v/k52p5vj4/
Mobile Web Overview https://www.edocr.com/v/k52p5vj4/
Jack Zheng4.7K views

More from Bullseye

Drupal case study: Sydney Living Museums by Bullseye by
Drupal case study: Sydney Living Museums by BullseyeDrupal case study: Sydney Living Museums by Bullseye
Drupal case study: Sydney Living Museums by BullseyeBullseye
2.4K views46 slides
Auckland airport webinar deck by
Auckland airport webinar deckAuckland airport webinar deck
Auckland airport webinar deckBullseye
1.3K views56 slides
Welcome to People Prophet by
Welcome to People ProphetWelcome to People Prophet
Welcome to People ProphetBullseye
806 views55 slides
If content is king, who is the queen? by
If content is king, who is the queen?If content is king, who is the queen?
If content is king, who is the queen?Bullseye
634 views16 slides
Business@100mbps - A View of the Firm of the Future by
Business@100mbps - A View of the Firm of the FutureBusiness@100mbps - A View of the Firm of the Future
Business@100mbps - A View of the Firm of the FutureBullseye
905 views44 slides
Social Media - Influencing Online Communities by
Social Media - Influencing Online CommunitiesSocial Media - Influencing Online Communities
Social Media - Influencing Online CommunitiesBullseye
402 views22 slides

More from Bullseye(9)

Drupal case study: Sydney Living Museums by Bullseye by Bullseye
Drupal case study: Sydney Living Museums by BullseyeDrupal case study: Sydney Living Museums by Bullseye
Drupal case study: Sydney Living Museums by Bullseye
Bullseye2.4K views
Auckland airport webinar deck by Bullseye
Auckland airport webinar deckAuckland airport webinar deck
Auckland airport webinar deck
Bullseye1.3K views
Welcome to People Prophet by Bullseye
Welcome to People ProphetWelcome to People Prophet
Welcome to People Prophet
Bullseye806 views
If content is king, who is the queen? by Bullseye
If content is king, who is the queen?If content is king, who is the queen?
If content is king, who is the queen?
Bullseye634 views
Business@100mbps - A View of the Firm of the Future by Bullseye
Business@100mbps - A View of the Firm of the FutureBusiness@100mbps - A View of the Firm of the Future
Business@100mbps - A View of the Firm of the Future
Bullseye905 views
Social Media - Influencing Online Communities by Bullseye
Social Media - Influencing Online CommunitiesSocial Media - Influencing Online Communities
Social Media - Influencing Online Communities
Bullseye402 views
The Best Communicators Start as the Best Listeners by Bullseye
The Best Communicators Start as the Best ListenersThe Best Communicators Start as the Best Listeners
The Best Communicators Start as the Best Listeners
Bullseye2.1K views
Dynamic Personalisation - Channelling Conversations Through Relevance by Bullseye
Dynamic Personalisation - Channelling Conversations Through RelevanceDynamic Personalisation - Channelling Conversations Through Relevance
Dynamic Personalisation - Channelling Conversations Through Relevance
Bullseye666 views
Public Sector Digital Marketing - Bullseye by Bullseye
Public Sector Digital Marketing - BullseyePublic Sector Digital Marketing - Bullseye
Public Sector Digital Marketing - Bullseye
Bullseye1.8K views

Recently uploaded

slide deck by
slide deckslide deck
slide deckshamailalsabri
7 views6 slides
GMP1 powerpoint presentation for maker lab by
GMP1 powerpoint presentation for maker labGMP1 powerpoint presentation for maker lab
GMP1 powerpoint presentation for maker labrpham9987
17 views27 slides
COE catalog-compressed.pdf by
COE catalog-compressed.pdfCOE catalog-compressed.pdf
COE catalog-compressed.pdfdaniel103814
13 views260 slides
tony moura bio.pdf by
tony moura bio.pdftony moura bio.pdf
tony moura bio.pdfjenki442
7 views20 slides
GMP2 Powerpoint presentation for maker lab by
GMP2 Powerpoint presentation for maker labGMP2 Powerpoint presentation for maker lab
GMP2 Powerpoint presentation for maker labrpham9987
11 views23 slides
INTERNSHIP-PORTFOLIO (shashank) by
INTERNSHIP-PORTFOLIO (shashank)INTERNSHIP-PORTFOLIO (shashank)
INTERNSHIP-PORTFOLIO (shashank)Shashank Patil
11 views84 slides

Recently uploaded(20)

GMP1 powerpoint presentation for maker lab by rpham9987
GMP1 powerpoint presentation for maker labGMP1 powerpoint presentation for maker lab
GMP1 powerpoint presentation for maker lab
rpham998717 views
COE catalog-compressed.pdf by daniel103814
COE catalog-compressed.pdfCOE catalog-compressed.pdf
COE catalog-compressed.pdf
daniel10381413 views
tony moura bio.pdf by jenki442
tony moura bio.pdftony moura bio.pdf
tony moura bio.pdf
jenki4427 views
GMP2 Powerpoint presentation for maker lab by rpham9987
GMP2 Powerpoint presentation for maker labGMP2 Powerpoint presentation for maker lab
GMP2 Powerpoint presentation for maker lab
rpham998711 views
INTERNSHIP-PORTFOLIO (shashank) by Shashank Patil
INTERNSHIP-PORTFOLIO (shashank)INTERNSHIP-PORTFOLIO (shashank)
INTERNSHIP-PORTFOLIO (shashank)
Shashank Patil11 views
Sugar Air Kiss Lipstick by aryasheel1
Sugar Air Kiss LipstickSugar Air Kiss Lipstick
Sugar Air Kiss Lipstick
aryasheel112 views
Business X Design - People, Planet & Product by Cyber-Duck
Business X Design - People, Planet & ProductBusiness X Design - People, Planet & Product
Business X Design - People, Planet & Product
Cyber-Duck32 views
BREAKFAST GONE WRONG____________________ by pulkkinenaliisa
BREAKFAST GONE WRONG____________________BREAKFAST GONE WRONG____________________
BREAKFAST GONE WRONG____________________
pulkkinenaliisa10 views
Connexions 2024 Idea Book.pdf by daniel103814
Connexions 2024 Idea Book.pdfConnexions 2024 Idea Book.pdf
Connexions 2024 Idea Book.pdf
daniel10381430 views
boggiano_project 2.pptx by samboggiano
boggiano_project 2.pptxboggiano_project 2.pptx
boggiano_project 2.pptx
samboggiano25 views
Samsung Galaxy Watch 5 Presentation by aryasheel1
Samsung Galaxy Watch 5 PresentationSamsung Galaxy Watch 5 Presentation
Samsung Galaxy Watch 5 Presentation
aryasheel113 views
Re-envisioning UF's College of Journalism and Communications by emilymccauslin
Re-envisioning UF's College of Journalism and CommunicationsRe-envisioning UF's College of Journalism and Communications
Re-envisioning UF's College of Journalism and Communications
emilymccauslin23 views

Building Responsive Websites with Drupal

  • 2. DANIEL TOME Drupal Technical Lead Twitter: @danieltome http://danieltome.com
  • 5. AGENDA  Overview of responsive design  Responsive with Drupal  Keeping it accessible  Optimisation considerations  Look into the future
  • 7. The creation of a site that is able to adapt to the context in which it is being viewed. WHAT IS A RESPONSIVE WEBSITE
  • 8.  Based on Adaptive theme  Mobile viewport. Design looks and feels like a mobile app  Haroldparkbymirvac.com HAROLD PARK MIRVAC
  • 9.  Based on Bootstrap theme  3d Slide-In menu – Meny  Excellent handling of print media  Bullseye-digital.com BULLSEYE REBRAND BULLSEYE
  • 10.  Based on Adaptive theme  Simplified grid structure  Telco.nsw.gov.au TELCOAUTHORITY NSW GOVERNMENT
  • 11. WHY IS IT IMPORTANT?
  • 12. NATIVE APPS  Pros – Available for offline use – Provide a quick and smooth experience – Access to device features (camera, etc)  Cons – Expensive – Limited platform support – Hard to do well – You still need a website ALTERNATIVES MOBILE SPECIFIC WEBSITE  Pros ̶ Optimised for speed easier ̶ Can target older devices ̶ No limitations for design  Cons ̶ Dealing with redirects ̶ Tablets usually are not targeted ̶ Tends to offer an incomplete experience
  • 13.  Pros – Only need to maintain a single website – No need for user agent detection – No need for specific URL redirects – Addresses multiple devices: phones, tablets, desktops, tv, etc – Link sharing works the same for all devices – Future ready  Cons – Same content for all devices – Cross browser and device incompatibilities – Generally slower than m.dot website – Testing time increased RESPONSIVE WEB DESIGN
  • 14. MOBILE FIRST Progressive enhancement Mobile first requires a new approach to planning, UX design, and development that puts handheld devices at the forefront of both strategy and implementation.
  • 15. GENERALLY MOBILE USERS ARE ON THE MOVEAND ARE GOING TO USE YOUR SITE TO DO BASIC RESEARCH “ ” - lie
  • 16. – The mobile user is on the move – The mobile user is easily distracted – The mobile user needs the information quickly – The mobile user only wants to carry out one action – The mobile user wants less content MOBILE SCENARIOS
  • 17. DON’TASSUME THAT “MOBILE” USERS WANT LESS CONTENT“ ”
  • 18. EXISTING NON-RESPONSIVE WEBSITE Existing website Audit content Identify break points by content not device
  • 21.  Omega – https://drupal.org/project/omega  Bootstrap – https://drupal.org/project/bootstrap  Adaptive – https://drupal.org/project/adaptivetheme  Zen – https://drupal.org/project/zen  Zurb – https://drupal.org/project/zurb-foundation MOST COMMON DRUPAL RWD THEMES
  • 22. Fences https://drupal.org/project/fences Turn this: <div class="field field-name-field-test field-type-text field-label- above"> <div class="field-label">Foobar field:&nbsp;</div> <div class="field-items"> <div class="field-item even">Leaner markup means better front-end performance.</div> </div> </div> Into This <h3 class="field-label">Foobar field</h3> <p class="field-foobar">Leaner markup means better front-end performance.</p> USEFUL MODULES
  • 23.  Do Nothing – Just add padding  Select Menu – Show menu in a <select> dropdown box  Toggle – Small icon/toggle in header that displays the menu as a popup  Sidebar fly-out – Similar to toggle, but allows longer menu structure. (made popular by facebook) MENU LAYOUTS
  • 24.  Slideshows/Carousels  Tables (tabular data)  Orientation changes: Portrait to Landscape  Unsupported Browsers CHALLENGES
  • 25.  Skip Views Slideshow  Flex Slider – https://drupal.org/project/flexslider  Orbit (Zurb) – http://zurb.com/playground/orbit-jquery-image-slider SLIDESHOWS
  • 26.  Allow access to table outside of theme. Eg: Dowload  Alternatives with JS  Demo: http://zurb.com/playground/projects/responsive-tables/index.html TABLES
  • 27.  Be careful with viewport zooming  Use the grid system  Custom selectors on media queries need to be applied on multiple breakpoints ORIENTATION CHANGES
  • 29. RESPONSIVE WEB DESIGN AND ACCESSIBILITYARE VERY COMPLEMENTARY, BUT … DOING RESPONSIVE DESIGN DOES NOT MEAN THAT YOUAUTOMATICALLY HAVE ANACCESSIBLE SITEAND VICE VERSA. “ ”- Baruch Sachs
  • 30.  Viewport should be allowed to be zoomed 200%  Focus order is still important  Colour contrast between background and foreground needs to be greater than desktop MOBILEACCESSIBILITY
  • 31.  Scrollbars needed when content does not fit viewport  Must respond correctly to removal of CSS  Should be readable without specific colours  Position and reading order must remain the same  Instead of hiding content with CSS, use DOM manipulation DESKTOPACCESSIBILITY WITH RWD
  • 33.  Yepnope library – http://yepnopejs.com/  Lazy loading  Adaptive images – https://drupal.org/project/adaptive_image – https://drupal.org/project/picture  Used in Drupal 8 core backported to D7 LOADING WHAT YOU NEED
  • 35. Strategy for the Mobile Initiative https://groups.drupal.org/node/207248 John Albin DRUPAL 8 MOBILE INITIATIVE

Editor's Notes

  1. A definition of responsive according to wikipedia is:If you thought this session is about improving the speed of your website in a positive manner, then you’re in the wrong session..
  2. How often have you heard mobile site usage described along the following lines:
  3. mobile user needs are often based on over-simplified scenarios:While some of these scenarios are often not far from the truth, there is still a prevalent trend for mobile users to be grouped together.Are these assumptions born out the behavior of mobile users, or is their behaviour a product of the poor experiences that are offered to them?
  4. “85% of users expect a mobile site to offer an experience better than or equal to a desktop computer.”
  5. Most things come down to these options:Dropping content downHide certain content that does not work on mobile
  6. The aim of this theme is to show new themers how a few lines of CSS can adapt an existing theme to be &quot;responsive&quot;. The CSS applied in the theme make radical visual changes to the original design to emphasize what&apos;s happening at each of the &quot;break&quot; points for the content-based media queries. The CSS as written is not appropriate for real Web sites, but acts as a good starting point for people wanting to retrofit their own sites to be responsive.
  7. Do nothing. Height of menu will take up a lot of screenSelect menu. Pros: smaller height. Cons.. Hard to show children and larger menus. JS dependent)
  8. Alpha release because it hasn’t added all the API features from wooThemesflexslider.It IS stable
  9. How often have you heard mobile site usage described along the following lines:
  10. Using CSS to hide content in different contexts may not always provide the desired results with assistive technology. Manipulation of the DOM to add or remove page content should be used (e.gappendChild).
  11. Yepnope: example. Don’t need parallax on mobile. Then don’t load parallax library. The Adaptive image module provides device-appropriate versions of images from your fields.You can activate adaptive images by adding an adaptive effect to any of your image styles.
  12. Drupal 8 Core is responsive out of the box.(as seen on Dave’s earlier talk)