I think Thomas means in your page inspector settings. The Action (which I wrote) works off of the device’s self-reported screen width (which is always reported in “visual” pixels, not the actual pixel dimensions of the screen (which may number in the thousands – larger in some cases than an average desktop display). What device are you testing with, and what are you expecting to happen?
Walter
On May 27, 2014, at 10:26 AM, Erik wrote:
Hi Thomas,
The value needs to be numeric (in the action) so I can’t change it to device-width
I was testing it on an Ipad mini,
The action is (at this moment) only applied to the contact page.
My client build his own mobile website, so what I want is a re-direct to this site when the page size is less then Ipad mini size. I did some tests with sizing in the action but no result at all?
I was testing it on an Ipad mini,
The action is (at this moment) only applied to the contact page.
My client build his own mobile website, so what I want is a re-direct to this site when the page size is less then Ipad mini size. I did some tests with sizing in the action but no result at all?
You appear to have set the width for your redirect to 320. The iPad mini has a 1024x768 screen. So you need to use an iPhone in vertical orientation to get it to redirect to the mobile site, or change that dimension. Be careful – the iPad is as large as many desktop screens that you may not want to force into your “mobile” site.