title: Smarty viewport if statement
body: <p>Is there any way to display content based on the users viewport size using a Smarty "if" statement? For example I am creating a form, and if the user is on a small device (320px) then I would like the label to be the form's initial input value (ie. Your Name) which is cleared on blur/focus, and if the user is viewing on a desktop then I would like the labels displayed to the left of the input field.</p>