What are Responsive Web Templates?Responsive web design, or RWD, formats a webpage layout to be fluid for optimal viewing and navigation across a wide range of devices, including traditional PC and Mac desktop and laptop computers, tablet and surface, smartphones, and all other mobile devices. By detecting the device screen width using Media Queries css code, it allows for better cross-device viewing by shrinking or expanding image widths, changing font sizes, reducing margins and hiding non-mobile friendly elements.
Traditionally websites and web templates were typically designed with fixed widths, set image sizes and a specific overall browser width. With the introduction of responsive design, web pages can be designed to respond or "flex" as the browser width narrows. This allows html webpages to shrink or expand to fit mobile and tablet screens.
To allow HTML webpages to adapt to the different device and computer screen sizes the most common widths used are 320, 480 and 768, 1024 pixels for smartphone portrait, smartphone landscape and tablet portrait and landscape views respectively. Rather than create a website at 320 pixels wide as the smallest common denominator, css "Media Queries" are built into the designs to allow a website to change layout, image sizes and other design elements for optimal viewing across all devices including desktop, laptop, tablet and mobile.
Benefits of Responsive DesignThere are a lot of advantages to building a website using this style of code. First and foremost, a responsive website, flexing for individual display screens, will look better and function better across all computer types and devices. Font and image sizes will be more cross-device viewable and links and buttons will be more clickable.
You can make your website mobile compliant in one of two ways. You can create a second set of webpages specifically tailored for mobile device viewing, using either an automatic smartphone redirection script or passive css redirect, or you can use responsive design and will then only need to maintain a single set of webpages. Additionally, it's important to build your webpages so they pass the Google mobile friendly test for better search rankings.
Media Queries CSSCss code is used in websites and web templates to define styles like font sizes, webpage colors, layout widths and heights. "Media Queries" is css code that targets specific device browser settings like screen size, device-orientation and other device elements. Using this tool you can, for example, setup a website to display a larger font on 320 pixel wide mobile screens. In addition you can hide elements, move elements, make images stretch and narrow to fill the device screen and more. This powerful "responsive" code can automatically re-design a website or web template layout as the screen display changes. See: Media Queries support.
Responsive Design Features
- Website layout changes as the display resolution changes
- Stretches images to fill the browser window
- Can detect multiple screen resolutions
- Plain text css code for easy tweaking
- Creates a website that adapts to different devices
- Only a single set of webpages is required for all computer types
- Changes fonts, widths, heights or hides elements on small screens
- Can create responsive video that changes size as the screen narrows
mobi-hybrid® Web TemplatesTo view some responsive for mobile website designs check out our mobile friendly web templates. These designs are mobile compliant and built in HTML5 and CSS3 to W3C specifications. They respond for all devices: desktop, laptop, tablet and smartphones and are stand alone downloadable web templates.
Regularly updated as the Internet evolves, our webpage templates are error free HTML W3C compliant designs. Used by both professional developers as well as novice webmasters, all website downloads include step by step instructions and comprehensive support. See some live sites in use on our user list page.
Importance of Flexibility For MobilePage widths, more than heights, are important for screen viewability. Because of the large number of devices, and different browser software available, any website needs to be flexible enough to be cross-device viewable. Desktop and laptop computers, tablets, mini-tablets, smartphones and other devices all need to be considered when designing a website. Screen resolution is a major factor and responsive design using Media Queries allows a site to conform to a vast array of devices. CSS styles should be included for both a maximum and a minimum page width so a site can flex and respond to fit the browser. Every device browser has different proprietary rendering aspects so any new website should be fully tested.
For a mobile only design, web page width should be kept under 320 pixels. For landscape view this will be 480 pixels and on tablet the portrait screen width is generally 768 pixels with 1024 for landscape view.
File Byte Sizes & Load SpeedAlthough Internet connections get faster each year, it is important to consider the file sizes of website images, video, widgets and other applications to allow for fast page loading. Save your images at a lower quality and if your software includes the option to save for web use you should use that option. You may want to do some experimenting with your "save as" options.
Video on Mobile DevicesHTML5 video and also YouTube embed code can be added to any type of website or template. YouTube embed code can be generated in your account and the code is pasted directly into the webpage. See YouTube help. Any type of video can cause a page to load slowly so add only a single video to a page and consider that if you add a video to your home page, be sure to test it on a few different mobile devices. If your website uses video for instructional or product information, you may want to consider linking to a sub-page with the embedded video. See also video support.
Youtube video embed code is not setup as responsive. Css code must be added in the HTML webpages to make the video "flex" to the viewer's device screen width. See the features list or you can search for video at the top of this page to see some web template options.
Meta Tags for Mobile DevicesThe "meta viewport" is a tag that is used in HTML pages to indicate to mobile devices how to respond to the webpage. In most cases this tag should only be included in responsive websites that can respond to be as narrow as a 320 pixel width webpage or in mobile designed sites. See also Content Adaptation at W3C.org.
The following "viewport" meta tag works globally for most mobile devices. This tag goes in the head section of your HTML pages. Use this meta tag only in HTML webpages that flex down to 320 pixels or less in width, do not use this code on a fixed width website.
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
To save load speed time, most mobile devices do not clear the cache each time they exit a website. The following meta tag tells the browser to expire the website after 20 minutes. Use this tag on HTML webpages that are frequently updated.
<meta http-equiv="cache-control" content="max-age=1200">
Mobile Site Building TipsIf you're designing a responsive website, things to keep in mind are:
- Include a viewport meta tag
- Use CSS Media Queries for responsiveness
- Webpages should flex down to 320 pixels in width
- Create menus that collapse or shrink to fit the screen
- Keep your image sizes small, use less images per page
- Place fewer applications like video and widgets on the homepage
- Carefully monitor your homepage total byte size (this can affect SEO)
- For images wider than 300 to 320 pixels, use a 100% width instead and setup code so they stretch to a css max-width and min-width
- Test your webpages using Google Pagespeed Insights and the mobile friendly test
- Download some free responsive intro pages that include simple Media Queries code you can edit and experiment with
Remember that with responsive web design you'll want to create HTML webpages that can flex down to at least 320 pixels in width for smartphones, and then respond up in width for desktop and tablet computers to anywhere from 740 to 1500 pixels or greater. You can search at Google for all of the above indicated items. You will find many sites with information to help you setup your website and keep it mobile friendly.