Mobile Studio does not always present the mobile user agent string

ihaynes's Avatar


05 Sep, 2012 08:22 AM

I've been looking at some site templates that work responsively by using JS to look for the userAgent and, if mobile, add a class to the page body which then alters the layout for mobile.

The Lite sumulator works correctly every time but the Mobile Studio simulator does not.

You can see the effect by looking at which was created with one of these templates.

Two screen shots attached.

Ian Haynes

  1. 1 Posted by ihaynes on 05 Sep, 2012 08:23 AM

    ihaynes's Avatar

    Despite attaching two screen shots only one was listed. The second one attached.

  2. Support Staff 2 Posted by Shaun Sullivan on 06 Sep, 2012 12:12 PM

    Shaun Sullivan's Avatar

    Thanks, we are looking into this, as it appears to be some sort of timing issue (hence the fact that it is spurious).


  3. Support Staff 3 Posted by Shaun Sullivan on 07 Sep, 2012 01:20 PM

    Shaun Sullivan's Avatar

    Download the latest, and you should be all set. Thanks.

  4. Shaun Sullivan closed this discussion on 07 Sep, 2012 01:20 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

30 Jun, 2022 03:05 PM
02 Nov, 2021 04:52 AM
16 Oct, 2021 02:38 PM
06 Oct, 2021 05:12 AM
20 Sep, 2021 04:14 PM