The Viewport module is a simple module that allows administrators, or users
with the "Administer Viewport Settings" permission, to set a Viewport HTML
metatag with the desired properties for one or several pages that can be
configured from the Settings page of the module.
The aim of the module is to provide an easy way to debug or test websites or
apps, as well as responsive designs on smartphones and tablets. This is NOT a
complete suite of tools to work with when delivering this kind of design / apps,
but a small utility to help with one specific aspect of responsive design.
Sometimes, one may need to set specific viewport values for a specific page on
the site (e.g when embedding a game for smartphones / tablets). This tool
helps to chase easily situations like that.
This module requires that the following modules are also enabled:
Install this module using the official Backdrop CMS instructions at
Navigate to "admin/people/permissions" and assign
the "Administer Viewport Settings" permission to the desired roles.
Navigate to "admin/config/user-interface/viewport", and set the desired
values for the different viewport properties.
In the textarea provided, enter the paths (oner per line) for which you
want the viewport tag to appear.
For more information on the Viewport properties and their meanings,
navigate to "admin/help/viewport".
Additional documentation is located in the Wiki:
Bugs and Feature requests should be reported in the Issue Queue:
- Ported to Backdrop CMS by Justin Christoffersen.
- Backdrop port sponsored by Ivar Jacobson International.
- Current Drupal project maintainer Salvador Molina.
- Originally written for Drupal by Salvador Molina.
- Originally written for Drupal by Dmitriy.trt.
This project is GPL v2 software.
See the LICENSE.txt file in this directory for complete text.