Media queries for a web app
hi, possible web app detail page not load template on desktop? in other words want blank template loaded if phone detected.
i tried putting in head of detail layout, <link href="/stylesheets/modulestylesheets.css" rel="stylesheet" type="text/css" media="screen , (max-device-width: 300px)" /> didn' work. great. -matt
under page templates sea button tablet , phone. turning on produce phone , tablet template variation file every template have.
further have tag - {system_visitordeviceclass} render phone, tablet, mobile can use in variety of ways such class or render differen stylesheets etc.
correctly doing media queries can see many guides on these doing quick google css media queries can see how use well.
More discussions in Business Catalyst
adobe
Comments
Post a Comment