How to use different themes on browsers and smartphones? (2 posts)

  1. spdorsey
    Posted 4 years ago #

    I saw a cool smartphone theme that I might like to use, but I already have a theme in use on my site.

    How would I go about implementing a theme specifically for smartphones while keeping my existing theme for browsers? Is there some sort of autodetect script for redirecting devices?

    Also - if there's a good portfolio theme out there that can do this automatically, I'd love to know about it.


  2. lavalink
    Posted 4 years ago #

    There's a tutorial on how to do this here - http://css-tricks.com/snippets/javascript/redirect-mobile-devices/

    Hope that answers your question. Also, if you want to simply make your site easier to read on mobile, consider adding a "meta viewport tag." The "scale" value in a meta viewport tag can allow you to scale your website up for mobile to the size you like, so it's easier to read.

    I've only done it once, a while ago, so I can't remember how to do it.. but there's a bunch of stuff out there on Google on how to do it.

Topic Closed

This topic has been closed to new replies.

About this Topic