Build a responsive website with drupal

  • 4,063 views
Uploaded on

Today's approach to website development has moved to responsive designs. Doing the same is fun with Drupal's Omega theme! Get started!

Today's approach to website development has moved to responsive designs. Doing the same is fun with Drupal's Omega theme! Get started!

More in: Technology , Design
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
4,063
On Slideshare
0
From Embeds
0
Number of Embeds
30

Actions

Shares
Downloads
26
Comments
0
Likes
3

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Build a Responsive Website with Drupal By Shyamala rajaram.shyamala@gmail.com www.unimity.com
  • 2. Presentation PathWhat are Responsive websites? ● Websites for mobile past, present & future ● Flexible Grids ● Flexible images ● Css Media queries ● What is Mobile first methodology? ● Break Points ● Responsive vs Adaptive ● Drupal 8 & mobile initiative  www.unimity.com
  • 3. Website for Mobile - PastMOBILE DESKTOPm.site.com www.site.com DETECT & REDIRECT Request www.unimity.com
  • 4. Website for Mobile - Present & Future www.unimity.com
  • 5. Flexible GridsUse percentages: allow grow & shrink of webpages      Target / Context = results (5grids) / (8grids) = 62.5% OR (600px) / (960px) = 62.5% www.unimity.com
  • 6. Flexible Grids www.unimity.com
  • 7. Flexible Images - sizes www.unimity.com
  • 8. Flexible Images www.unimity.com
  • 9. Flexible Images - modulesUse max-width to contain images within thegridDrupal modules that support flexible imagesinclude ● responsive_image: http://drupal. org/project/responsive_images ● fasterimages: http://drupal.org/project/fasterimages ● css_emimage: http://drupal.org/project/css_emimage   www.unimity.com
  • 10. CSS3 Media QueriesNot only allows you to target certain devices classes,but can actually inspect the physical characteristics ofdevice rendering the workNew media features, including max-width, device-width,orientation and color    www.unimity.com
  • 11. Apple - auto-adjust featureUse of view-port metatags  www.unimity.com
  • 12. Mobile first appraochEnsure the site works on all devices,devices that do not support Mediaqueries: take a MOBILE FIRSTAPPROACH!global.css -> mobilereponsive.css -> media queries www.unimity.com
  • 13. Break Points1200px : Larger screens1024px : Smaller desktops & Larger tablets Landscape768px : Portrait for Larger Tablets, Landscape for smaller tablets600px : Portrait & Landscape for smaller layouts & Kindle480px : Landscape mode for smart phones320px : Portrait mode for smart phones www.unimity.com
  • 14. Responsive vs Adaptive design "Adaptive web design" refers more to thesecondary and less fluid approach ofadapting existing web designs, ordesigning for controlled adaptation asopposed to a truly fluid and flexible"Responsive" design. 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.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.unimity.com
  • 17. www.unimity.com
  • 18. www.unimity.com