Skip to main content

Allows you to add the device mockups plugin to a cms page

Project description

An extension for Django CMS that adds the Device Mockups CSS library to elements on DjangoCMS.

Installation

  1. Install with pip pip install djangocms-device-mockups

  2. Add djangocms_device_mockups to INSTALLED_APPS

  3. Run migrations python manage.py migrate

Usage

See notes here: https://github.com/pixelsign/html5-device-mockups

After installation simply add the plugins to the page.

Notes

  • If putting onto a background, ensure the background has both position and z-index < -1.

  • Main CSS will limit device size to 300px, set .device-wrapper { max-width: 100%; ..} to make it responsive/resize etc.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

djangocms-device-mockups-1.0.1.tar.gz (15.5 MB view hashes)

Uploaded Source

Built Distribution

djangocms_device_mockups-1.0.1-py3-none-any.whl (15.5 MB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page