SlideShare a Scribd company logo
www.techday7.com




                   Build a Responsive Website
                           with Drupal



                             By Shyamala
                     rajaram.shyamala@gmail.com


                                             www.unimity.com
Presentation Path
1.   What are Responsive websites?
2.   Websites for mobile past, present &
     future
3.   Flexible Grids
4.   Flexible images
5.   Css Media queries
6.   What is Mobile first methodology?
7.   Break Points
8.   Responsive vs Adaptive
9.   Drupal 8 & mobile initiative
                                      www.techday7.com
                                 www.unimity.com
Website for Mobile - Past
MOBILE                   DESKTOP

m.site.com               www.site.com


             DETECT &
             REDIRECT



               Request
                                    www.techday7.com
                               www.unimity.com
Website for Mobile - Present &
            Future




                           www.techday7.com
                      www.unimity.com
Flexible Grids
Use percentages: allow grow & shrink of
 web pages

       Target / Context =
       results
       (5grids) / (8grids) =
       62.5%
       OR
       (600px) / (960px) =
       62.5%                        www.techday7.com
                               www.unimity.com
Flexible Grids




                      www.techday7.com
                 www.unimity.com
Flexible Images




                   www.techday7.com
              www.unimity.com
Flexible Images




                   www.techday7.com
              www.unimity.com
Flexible Images
Use max-width to contain images within the
 grid

 Drupal modules that support flexible
 images include
• responsive_image:
    http://drupal.org/project/responsive_images
•   fasterimages: http://drupal.org/project/fasterimages
•   css_emimage: http://drupal.org/project/css_emimage
                                                  www.techday7.com
                                           www.unimity.com
CSS3 Media Queries
Not only allows you to target certain devices classes, but can actually
inspect the physical characteristics of device rendering the workNew
media features, including max-width, device-width, orientation and color

@media screen and (max-device-width: 480px){
.classForiPhoneDispaly {
font-size: 1.2em;
}




                                                             www.techday7.com
                                                      www.unimity.com
Apple - auto-adjust feature

Use of view-port metatags

<meta name="viewport"
 content="width=device-width;
 initial-scale=1.0">


                                 www.techday7.com
                            www.unimity.com
Mobile first appraoch
Ensure the site works on all devices,
devices that do not support Media
queries: take a MOBILE FIRST
APPROACH!
global.css -> mobile
reponsive.css -> media queries



                                    www.techday7.com
                               www.unimity.com
Break Points
1200px : Larger screens
1024px: Smaller desktops & Larger tablets Landscape
768px: Portrait for Larger Tablets, Landscape for
smaller tablets
600px: Portrait & Landscape for smaller layouts &
Kindle
480 px: Landscape mode for smart phones
320 px: Portrait mode for smart phones




                                            www.techday7.com
                                       www.unimity.com
Responsive vs Adaptive design

 "Adaptive web design" refers more to the
secondary and less fluid approach of
adapting existing web designs, or
designing for controlled adaptation as
opposed to a truly fluid and flexible
"Responsive" design.


                                   www.techday7.com
                              www.unimity.com
Drupal Themes
•   omega: http://drupal.org/project/omega
•   zen: http://drupal.org/project/zen
•   adaptive: http://drupal.org/project/adaptivetheme
•   terrain: http://drupal.org/project/terrain




                                             www.techday7.com
                                        www.unimity.com
Drupal 8 & Responsive Designs
•   Issue queues tagged as mobile in
    Drupal 8
•   For info on Drupal 8 mobile
    initiative:http://groups.drupal.org/node/207248




                                             www.techday7.com
                                        www.unimity.com
www.techday7.com
www.unimity.com
www.techday7.com
www.unimity.com

More Related Content

PDF
Build a responsive website with drupal
PPTX
Responsive Development (ZendCon 2012)
PPTX
The Rise Of Tablets: Responsive Web Design is in your future
PPTX
The rise of tablets how responsive web design is in your future
PDF
The Modern Web
PDF
Building Responsive Websites with Drupal
PDF
Responsive Web Design On Student's day
PPTX
App vs web lunch and learn @ valtech
Build a responsive website with drupal
Responsive Development (ZendCon 2012)
The Rise Of Tablets: Responsive Web Design is in your future
The rise of tablets how responsive web design is in your future
The Modern Web
Building Responsive Websites with Drupal
Responsive Web Design On Student's day
App vs web lunch and learn @ valtech

Viewers also liked (8)

PDF
Presentatie paul bleumink
PDF
Presentatie ro koster
PDF
A&amp;S 350 Visual Resume
PPTX
Education1
PPSX
We are the future presentation
PPTX
Digital Marketing
DOCX
PPT
الترجمة العربية السواحلي
Presentatie paul bleumink
Presentatie ro koster
A&amp;S 350 Visual Resume
Education1
We are the future presentation
Digital Marketing
الترجمة العربية السواحلي
Ad

Similar to Build a responsive website with drupal (20)

PPTX
Responsive web designing course in Chandigarh
PPTX
Advancio, Inc. Academy: Responsive Web Design
KEY
Building Responsive Websites and Apps with Drupal
PDF
Creating mobile apps without native code
PDF
CSS3, Media Queries, and Responsive Design
PDF
Responsive Web Design and Retina Display
PDF
Jimba Tamang: Responsive and Retina Design
KEY
Responsive UX - One size fits all @BigDesign conference #BigD12
PDF
Responsive websites. Toolbox
PDF
Building Mobile Websites with Joomla
PDF
Multi screen HTML5
KEY
Responsive Design - WordUp Edinburgh 2011
PDF
An Introduction to Responsive Design
PDF
Responsive Web Design - Why and How
KEY
Responsive Design & Mobile First
PDF
Great Responsive-ability Web Design
PDF
Responsive Web Design (HeadStart TechTalks)
PDF
Responsive Websites
PDF
Devon 2011-f-1 반응형 웹 디자인
PDF
Responsive web design
Responsive web designing course in Chandigarh
Advancio, Inc. Academy: Responsive Web Design
Building Responsive Websites and Apps with Drupal
Creating mobile apps without native code
CSS3, Media Queries, and Responsive Design
Responsive Web Design and Retina Display
Jimba Tamang: Responsive and Retina Design
Responsive UX - One size fits all @BigDesign conference #BigD12
Responsive websites. Toolbox
Building Mobile Websites with Joomla
Multi screen HTML5
Responsive Design - WordUp Edinburgh 2011
An Introduction to Responsive Design
Responsive Web Design - Why and How
Responsive Design & Mobile First
Great Responsive-ability Web Design
Responsive Web Design (HeadStart TechTalks)
Responsive Websites
Devon 2011-f-1 반응형 웹 디자인
Responsive web design
Ad

Recently uploaded (20)

PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Approach and Philosophy of On baking technology
PPT
Teaching material agriculture food technology
PDF
Electronic commerce courselecture one. Pdf
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PPTX
Cloud computing and distributed systems.
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PPTX
A Presentation on Artificial Intelligence
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
Encapsulation_ Review paper, used for researhc scholars
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Approach and Philosophy of On baking technology
Teaching material agriculture food technology
Electronic commerce courselecture one. Pdf
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Reach Out and Touch Someone: Haptics and Empathic Computing
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
MIND Revenue Release Quarter 2 2025 Press Release
Cloud computing and distributed systems.
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Programs and apps: productivity, graphics, security and other tools
The Rise and Fall of 3GPP – Time for a Sabbatical?
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
NewMind AI Weekly Chronicles - August'25-Week II
A Presentation on Artificial Intelligence
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Encapsulation_ Review paper, used for researhc scholars
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx

Build a responsive website with drupal

  • 1. www.techday7.com Build a Responsive Website with Drupal By Shyamala rajaram.shyamala@gmail.com www.unimity.com
  • 2. Presentation Path 1. What are Responsive websites? 2. Websites for mobile past, present & future 3. Flexible Grids 4. Flexible images 5. Css Media queries 6. What is Mobile first methodology? 7. Break Points 8. Responsive vs Adaptive 9. Drupal 8 & mobile initiative www.techday7.com www.unimity.com
  • 3. Website for Mobile - Past MOBILE DESKTOP m.site.com www.site.com DETECT & REDIRECT Request www.techday7.com www.unimity.com
  • 4. Website for Mobile - Present & Future www.techday7.com www.unimity.com
  • 5. Flexible Grids Use percentages: allow grow & shrink of web pages Target / Context = results (5grids) / (8grids) = 62.5% OR (600px) / (960px) = 62.5% www.techday7.com www.unimity.com
  • 6. Flexible Grids www.techday7.com www.unimity.com
  • 7. Flexible Images www.techday7.com www.unimity.com
  • 8. Flexible Images www.techday7.com www.unimity.com
  • 9. Flexible Images Use max-width to contain images within the grid Drupal modules that support flexible images include • responsive_image: http://drupal.org/project/responsive_images • fasterimages: http://drupal.org/project/fasterimages • css_emimage: http://drupal.org/project/css_emimage www.techday7.com www.unimity.com
  • 10. CSS3 Media Queries Not only allows you to target certain devices classes, but can actually inspect the physical characteristics of device rendering the workNew media features, including max-width, device-width, orientation and color @media screen and (max-device-width: 480px){ .classForiPhoneDispaly { font-size: 1.2em; } www.techday7.com www.unimity.com
  • 11. Apple - auto-adjust feature Use of view-port metatags <meta name="viewport" content="width=device-width; initial-scale=1.0"> www.techday7.com www.unimity.com
  • 12. Mobile first appraoch Ensure the site works on all devices, devices that do not support Media queries: take a MOBILE FIRST APPROACH! global.css -> mobile reponsive.css -> media queries www.techday7.com www.unimity.com
  • 13. Break Points 1200px : Larger screens 1024px: Smaller desktops & Larger tablets Landscape 768px: Portrait for Larger Tablets, Landscape for smaller tablets 600px: Portrait & Landscape for smaller layouts & Kindle 480 px: Landscape mode for smart phones 320 px: Portrait mode for smart phones www.techday7.com www.unimity.com
  • 14. Responsive vs Adaptive design "Adaptive web design" refers more to the secondary and less fluid approach of adapting existing web designs, or designing for controlled adaptation as opposed to a truly fluid and flexible "Responsive" design. www.techday7.com www.unimity.com
  • 15. Drupal Themes • omega: http://drupal.org/project/omega • zen: http://drupal.org/project/zen • adaptive: http://drupal.org/project/adaptivetheme • terrain: http://drupal.org/project/terrain www.techday7.com www.unimity.com
  • 16. Drupal 8 & Responsive Designs • Issue queues tagged as mobile in Drupal 8 • For info on Drupal 8 mobile initiative:http://groups.drupal.org/node/207248 www.techday7.com www.unimity.com