Can I redirect small mobile device users
pileofprints
Registered Users Posts: 36 Big grins
MY New Smugmug template, even after considerable customization, works great on iPhones. This achievement of smugmug fills me with delight. :clap
Then I went ahead and hacked an opening splash page that does not work so great on iPhones!!??! I used Lamah's randomly loading background to make my site not be the same every time one goes back to it. I've gotten great feedback about this-- except from iPhone users.
Can I just direct users of small hand-held devices to my "highlights" page which is the original home page from the template. Thanks
http://www.pileofprints.com/
Then I went ahead and hacked an opening splash page that does not work so great on iPhones!!??! I used Lamah's randomly loading background to make my site not be the same every time one goes back to it. I've gotten great feedback about this-- except from iPhone users.
Can I just direct users of small hand-held devices to my "highlights" page which is the original home page from the template. Thanks
http://www.pileofprints.com/
0
Comments
That'll hide the random background when the window is skinny (like on a phone). Now add a new HTML block which is the content to show for your mobile visitors, e.g. with this HTML:
And add this CSS on the CSS tab:
Note: you'll need to resize your browser window to the right width in the customiser to see your HTML block after you add this CSS to it (skinny for the mobile version, wide for the desktop version).
Please check out my gallery of customisations for the New SmugMug, more to come!