Title: Mobile Responsive?
Last modified: December 7, 2017

---

# Mobile Responsive?

 *  [dhoch14](https://wordpress.org/support/users/dhoch14/)
 * (@dhoch14)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/mobile-responsive-41/)
 * I’ve implemented the Age Gate and while it works fine on desktop, the page is
   not responsive on mobile. It stays the same width as if on desktop. Any help 
   would be greatly appreciated.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fmobile-responsive-41%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [Phil](https://wordpress.org/support/users/philsbury/)
 * (@philsbury)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/mobile-responsive-41/#post-9760902)
 * Hi [@dhoch14](https://wordpress.org/support/users/dhoch14/),
 * There’s a grid.css file giving you:
 *     ```
       html { min-width: 910px; }
       html.responsive { min-width: 0px; }
       ```
   
 * The `.responsive` class isn’t getting added to the page as age gate does it’s
   own thing with classes to avoid conflicts with theme specific styles. I’ll look
   at getting with a custom class field in there or HTML classes output by a theme.
 * As a temporary work around there’s potentially two things to try;
 * First, if the grid is something you can change, I’d just make the html always
   responsive, or add it later in a stylesheet so it trumps the grid:
 * `html { min-width: 910px; }`
 * If that’s not really doable, try switching to the cache bypass method for the
   age gate
    as that’s added after rendering has happened as doesn’t change the 
   HTML element classes at all.
 * Let me know if either work and if not I’ll push up so dev time on the plugin 
   to make some changes
 * Cheers
    Phil

Viewing 1 replies (of 1 total)

The topic ‘Mobile Responsive?’ is closed to new replies.

 * ![](https://ps.w.org/age-gate/assets/icon-256x256.png?rev=2783003)
 * [Age Gate](https://wordpress.org/plugins/age-gate/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/age-gate/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/age-gate/)
 * [Active Topics](https://wordpress.org/support/plugin/age-gate/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/age-gate/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/age-gate/reviews/)

## Tags

 * [mobile](https://wordpress.org/support/topic-tag/mobile/)

 * 1 reply
 * 2 participants
 * Last reply from: [Phil](https://wordpress.org/support/users/philsbury/)
 * Last activity: [8 years, 6 months ago](https://wordpress.org/support/topic/mobile-responsive-41/#post-9760902)
 * Status: not resolved