SlideShare a Scribd company logo
Responsive website
building approach
Olga Smolyankina & Kate Kalashnikova
Responsibility Solutions
Drupal Themes
Custom CSS

Drupal Modules
Limitations
● limited themes

● limited mobile
devices support

● limited layouts /
schemes

● desktop only

● limited sliders /
galleries
support

● HTML5 only
● Browsecap vs
Mobile Detect
The Problem
The Problem
The Problem. Breakpoints
Smartphone Portrait

480 px
Smartphone Landscape

768 px
Tablete Portrait

960 px
Tablete Landscape

1024 px
Desktop / Laptop

1280 px
Wide Screen

320 px
Project Requirements
Two Themes Solution
Implementation. Meta tags
width = device-width
initial-scale = 1
minimum-scale = 1
maximum-scale = 1
user-scalable = no
target-densitydpi = device-dpi
path_to_theme / template.php
Implementation. Styles
@media
HTML 5
relative sizes (%)
Media Queries for Standard Devices
/* Smartphones (portrait) ----------- */
@media only screen
and (max-width : 320px) {
/* Styles */
}
/* Smartphones (landscape) ----------- */
@media only screen
and (min-width : 321px) {
/* Styles */
}
/* iPads (portrait) ----------- */
@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px)
and (orientation : portrait) {
/* Styles */
}

/* iPads (landscape) ----------- */
@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px)
and (orientation : landscape) {
/* Styles */
}
/* Desktops and laptops ----------- */
@media only screen
and (min-width : 1224px) {
/* Styles */
}
Example of using Media Queries in Drupal7
name = Responsive
description = Responsive theme
core = 7.x
stylesheets[all][] = css/main.css
stylesheets[(min-width: 480px)][] = css/480.css
stylesheets[(min-width: 768px)][] = css/768.css
stylesheets[(min-width: 1024px)][] = css/1024.css
stylesheets[(min-width: 1280px)][] = css/1280.css
Responsive website building approach. Olga Smolyankina and Kate Kalashnikova
Features. Menus
Nice Menus

vs

SuperFish

1. Nice Menus Module

1. Superfish Module

https://drupal.org/project/nice_menus

https://drupal.org/project/superfish

2. Superfish-for-Drupal Library

2. Superfish-for-Drupal Library

https://github.com/mehrpadin/Superfish-for-Drupal

https://github.com/mehrpadin/Superfish-for-Drupal

3. jQuery
Features. Menus
Features. Click vs Hover
Features. Swipe effect
Features. Swipe effect
by iDangero.us
Features. Video solution
1. Galleria Module
https://drupal.org/project/galleria

2. Galleria Library
http://galleria.io/

3. Field formatter use
Features. Video solution

Vimeo videos cannot be played on some
Android mobile devices until you switch them
into a mobile regime in your Vimeo account.
Retina display
326 ppi for the smallest
devices (iPhone and
iPod Touch)
264 ppi for mid-sized
devices (iPad)
220 ppi for larger
devices (MacBook Pro)
Features. High-Resolution Images
Drupal modules:
https://drupal.
org/project/cs_adaptive_image Client-side adaptive image
https://drupal.
org/project/retina_images - Retina
images
https://drupal.org/project/resp_img -
Thank you!

More Related Content

PDF
Responsive Web Design: why is it so crucial?
Merixstudio
 
PDF
Designing for mobile
Dee Sadler
 
PDF
Dig into the omega theme
DrupalcampAtlanta2012
 
PDF
Responsive web design
Ben MacNeill
 
PDF
Responsive website design
svaithiyalingam
 
PPT
Idiot's Guide to viewport and pixel
Nathan Campos
 
PDF
An Introduction to Responsive Design
Valtech UK
 
KEY
Responsive UX - One size fits all @BigDesign conference #BigD12
touchtitans
 
Responsive Web Design: why is it so crucial?
Merixstudio
 
Designing for mobile
Dee Sadler
 
Dig into the omega theme
DrupalcampAtlanta2012
 
Responsive web design
Ben MacNeill
 
Responsive website design
svaithiyalingam
 
Idiot's Guide to viewport and pixel
Nathan Campos
 
An Introduction to Responsive Design
Valtech UK
 
Responsive UX - One size fits all @BigDesign conference #BigD12
touchtitans
 

Similar to Responsive website building approach. Olga Smolyankina and Kate Kalashnikova (20)

PDF
Bootstrap 3 Basic - Bangkok WordPress Meetup
Woratana Perth Ngarmtrakulchol
 
PDF
Great Responsive-ability Web Design
Mike Wilcox
 
KEY
Let's dig into the Omega Theme!
Mediacurrent
 
PDF
Responsive Web Design for Drupal, CMS Expo
Emma Jane Hogbin Westby
 
PDF
Presentación WPmallorca PalmaActiva responsive design
WPMallorca
 
PDF
Responsive Websites
Joe Seifi
 
PDF
CSS3 Media Queries
Man Math
 
PPTX
Create Responsive Website Design with Bootstrap 3
Wahyu Putra
 
PDF
The specs behind the sex, mobile-friendly layout beyond the desktop
betabeers
 
PDF
Html 5 mobile - nitty gritty
Mario Noble
 
PPTX
Responsive Web Design & Drupal
Konstantin Komelin
 
PDF
Responsive design
John Doxaras
 
PDF
Responsive Implementation in Drupal
Mukesh Agarwal
 
PPTX
Responsive design and retina displays
Eli McMakin
 
PDF
Bootstrap Tutorial
Luan Nguyen
 
PDF
Responsive Web Design
Christophe Schwyzer
 
PDF
Mozilla & Mobile
dynamis
 
PDF
Pinkoi Mobile Web
mikeleeme
 
PDF
Proactive Responsive Design
Nathan Smith
 
PPTX
Responsive Web Design & APEX Theme 25
Christian Rokitta
 
Bootstrap 3 Basic - Bangkok WordPress Meetup
Woratana Perth Ngarmtrakulchol
 
Great Responsive-ability Web Design
Mike Wilcox
 
Let's dig into the Omega Theme!
Mediacurrent
 
Responsive Web Design for Drupal, CMS Expo
Emma Jane Hogbin Westby
 
Presentación WPmallorca PalmaActiva responsive design
WPMallorca
 
Responsive Websites
Joe Seifi
 
CSS3 Media Queries
Man Math
 
Create Responsive Website Design with Bootstrap 3
Wahyu Putra
 
The specs behind the sex, mobile-friendly layout beyond the desktop
betabeers
 
Html 5 mobile - nitty gritty
Mario Noble
 
Responsive Web Design & Drupal
Konstantin Komelin
 
Responsive design
John Doxaras
 
Responsive Implementation in Drupal
Mukesh Agarwal
 
Responsive design and retina displays
Eli McMakin
 
Bootstrap Tutorial
Luan Nguyen
 
Responsive Web Design
Christophe Schwyzer
 
Mozilla & Mobile
dynamis
 
Pinkoi Mobile Web
mikeleeme
 
Proactive Responsive Design
Nathan Smith
 
Responsive Web Design & APEX Theme 25
Christian Rokitta
 
Ad

More from ADCI Solutions (15)

PDF
Drupal front-end performance
ADCI Solutions
 
PDF
Introduction to cron queue
ADCI Solutions
 
PDF
Drupal. Advantages and disadvantages. Igor Rodionov.
ADCI Solutions
 
PDF
Drupal theming must knows. Kate Kalashnikova.
ADCI Solutions
 
PDF
Drupal. History and Future. Sergey Susikov.
ADCI Solutions
 
PDF
Data Import From the Server of The Central Bank of the Russian Federation: Ho...
ADCI Solutions
 
PDF
Drupal 8: What's new? Anton Shubkin
ADCI Solutions
 
PDF
Contextly. Dmitry Tartynov
ADCI Solutions
 
PDF
Vagrant. Halturin Artem
ADCI Solutions
 
PDF
Must-knows and common mistakes in theming. Kate Kalashnikova.
ADCI Solutions
 
PDF
Drupal 8. Movement towards. Susikov Sergey
ADCI Solutions
 
PDF
Upgrade with 6 to 7. Denis Komel'kov
ADCI Solutions
 
PDF
Entity. Anton Shubkin and Yaroslav Ponomarev
ADCI Solutions
 
PDF
LESS and even more. Anton Shubkin.
ADCI Solutions
 
PDF
Selenium. Stas Kuzminov
ADCI Solutions
 
Drupal front-end performance
ADCI Solutions
 
Introduction to cron queue
ADCI Solutions
 
Drupal. Advantages and disadvantages. Igor Rodionov.
ADCI Solutions
 
Drupal theming must knows. Kate Kalashnikova.
ADCI Solutions
 
Drupal. History and Future. Sergey Susikov.
ADCI Solutions
 
Data Import From the Server of The Central Bank of the Russian Federation: Ho...
ADCI Solutions
 
Drupal 8: What's new? Anton Shubkin
ADCI Solutions
 
Contextly. Dmitry Tartynov
ADCI Solutions
 
Vagrant. Halturin Artem
ADCI Solutions
 
Must-knows and common mistakes in theming. Kate Kalashnikova.
ADCI Solutions
 
Drupal 8. Movement towards. Susikov Sergey
ADCI Solutions
 
Upgrade with 6 to 7. Denis Komel'kov
ADCI Solutions
 
Entity. Anton Shubkin and Yaroslav Ponomarev
ADCI Solutions
 
LESS and even more. Anton Shubkin.
ADCI Solutions
 
Selenium. Stas Kuzminov
ADCI Solutions
 
Ad

Recently uploaded (20)

PPTX
The Future of AI & Machine Learning.pptx
pritsen4700
 
PDF
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
PDF
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
PDF
GDG Cloud Munich - Intro - Luiz Carneiro - #BuildWithAI - July - Abdel.pdf
Luiz Carneiro
 
PDF
Brief History of Internet - Early Days of Internet
sutharharshit158
 
PPTX
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 
PDF
Make GenAI investments go further with the Dell AI Factory
Principled Technologies
 
PDF
Responsible AI and AI Ethics - By Sylvester Ebhonu
Sylvester Ebhonu
 
PDF
A Strategic Analysis of the MVNO Wave in Emerging Markets.pdf
IPLOOK Networks
 
PPTX
OA presentation.pptx OA presentation.pptx
pateldhruv002338
 
PDF
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
PPTX
The-Ethical-Hackers-Imperative-Safeguarding-the-Digital-Frontier.pptx
sujalchauhan1305
 
PDF
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
PDF
SparkLabs Primer on Artificial Intelligence 2025
SparkLabs Group
 
PPTX
Applied-Statistics-Mastering-Data-Driven-Decisions.pptx
parmaryashparmaryash
 
PDF
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
PDF
OFFOFFBOX™ – A New Era for African Film | Startup Presentation
ambaicciwalkerbrian
 
PPTX
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
PDF
Accelerating Oracle Database 23ai Troubleshooting with Oracle AHF Fleet Insig...
Sandesh Rao
 
PDF
The Future of Mobile Is Context-Aware—Are You Ready?
iProgrammer Solutions Private Limited
 
The Future of AI & Machine Learning.pptx
pritsen4700
 
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
GDG Cloud Munich - Intro - Luiz Carneiro - #BuildWithAI - July - Abdel.pdf
Luiz Carneiro
 
Brief History of Internet - Early Days of Internet
sutharharshit158
 
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 
Make GenAI investments go further with the Dell AI Factory
Principled Technologies
 
Responsible AI and AI Ethics - By Sylvester Ebhonu
Sylvester Ebhonu
 
A Strategic Analysis of the MVNO Wave in Emerging Markets.pdf
IPLOOK Networks
 
OA presentation.pptx OA presentation.pptx
pateldhruv002338
 
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
The-Ethical-Hackers-Imperative-Safeguarding-the-Digital-Frontier.pptx
sujalchauhan1305
 
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
SparkLabs Primer on Artificial Intelligence 2025
SparkLabs Group
 
Applied-Statistics-Mastering-Data-Driven-Decisions.pptx
parmaryashparmaryash
 
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
OFFOFFBOX™ – A New Era for African Film | Startup Presentation
ambaicciwalkerbrian
 
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
Accelerating Oracle Database 23ai Troubleshooting with Oracle AHF Fleet Insig...
Sandesh Rao
 
The Future of Mobile Is Context-Aware—Are You Ready?
iProgrammer Solutions Private Limited
 

Responsive website building approach. Olga Smolyankina and Kate Kalashnikova

  • 1. Responsive website building approach Olga Smolyankina & Kate Kalashnikova
  • 3. Limitations ● limited themes ● limited mobile devices support ● limited layouts / schemes ● desktop only ● limited sliders / galleries support ● HTML5 only ● Browsecap vs Mobile Detect
  • 6. The Problem. Breakpoints Smartphone Portrait 480 px Smartphone Landscape 768 px Tablete Portrait 960 px Tablete Landscape 1024 px Desktop / Laptop 1280 px Wide Screen 320 px
  • 9. Implementation. Meta tags width = device-width initial-scale = 1 minimum-scale = 1 maximum-scale = 1 user-scalable = no target-densitydpi = device-dpi path_to_theme / template.php
  • 11. Media Queries for Standard Devices /* Smartphones (portrait) ----------- */ @media only screen and (max-width : 320px) { /* Styles */ } /* Smartphones (landscape) ----------- */ @media only screen and (min-width : 321px) { /* Styles */ } /* iPads (portrait) ----------- */ @media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) { /* Styles */ } /* iPads (landscape) ----------- */ @media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) { /* Styles */ } /* Desktops and laptops ----------- */ @media only screen and (min-width : 1224px) { /* Styles */ }
  • 12. Example of using Media Queries in Drupal7 name = Responsive description = Responsive theme core = 7.x stylesheets[all][] = css/main.css stylesheets[(min-width: 480px)][] = css/480.css stylesheets[(min-width: 768px)][] = css/768.css stylesheets[(min-width: 1024px)][] = css/1024.css stylesheets[(min-width: 1280px)][] = css/1280.css
  • 14. Features. Menus Nice Menus vs SuperFish 1. Nice Menus Module 1. Superfish Module https://drupal.org/project/nice_menus https://drupal.org/project/superfish 2. Superfish-for-Drupal Library 2. Superfish-for-Drupal Library https://github.com/mehrpadin/Superfish-for-Drupal https://github.com/mehrpadin/Superfish-for-Drupal 3. jQuery
  • 19. Features. Video solution 1. Galleria Module https://drupal.org/project/galleria 2. Galleria Library http://galleria.io/ 3. Field formatter use
  • 20. Features. Video solution Vimeo videos cannot be played on some Android mobile devices until you switch them into a mobile regime in your Vimeo account.
  • 21. Retina display 326 ppi for the smallest devices (iPhone and iPod Touch) 264 ppi for mid-sized devices (iPad) 220 ppi for larger devices (MacBook Pro)
  • 22. Features. High-Resolution Images Drupal modules: https://drupal. org/project/cs_adaptive_image Client-side adaptive image https://drupal. org/project/retina_images - Retina images https://drupal.org/project/resp_img -