Add a checkbox to PageWrapper editor labeled "Enable Responsive" that enables the responsive layout

Add a checkbox to PageWrapper editor labeled "Enable Responsive" that does the following:

  • Sets doctype to HTML5
  • Adds <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0;"> to head tag
  • Adds class="mobile" to the body tag.

 

These are all things that are required currently in Luminate to make the responsive layouts work, but it is not well known that these things are required.

  • Guest
  • May 20 2015
  • Reviewed: Voting Open
Area of the Product Content
Org/Company Name Blackbaud
  • Attach files
  • Guest commented
    May 20, 2015 20:04

    Another, possibly easier alternative would be to just make these options default when you create a new Page Wrapper.