P2 Style-Iphone.css for Android (4 posts)

  1. rhinelephonkey
    Posted 5 years ago #

    Is there a way to also incorporate the Iphone style sheet for Android also. I tried playing around with the functions.php but couldn't figure it out.

  2. jmunn
    Posted 5 years ago #

    In Functions.php change the first line of iphone_css() to

    if ( strstr( $_SERVER['HTTP_USER_AGENT'], 'Android' ) or strstr( $_SERVER['HTTP_USER_AGENT'], 'iPhone' ) or isset($_GET['iphone']) && $_GET['iphone'] ) { ?>

    Not sure of other mobile user agents that would be good to use, blackberry or ipod touch maybe? Not sure what those are.

    The last time I updated the theme though the iphone css was not looking quite as nice as I remembered it. I tweeked it a bit if you want to check it out. Not sure it's I've made any improvements though :)

  3. DJTwittr
    Posted 5 years ago #

    nice... it makes a "quick mobile version... but you are right, it's not 100%

  4. SnowFire
    Posted 4 years ago #

    how about windows Moble, everyone seems to forget that one ><

Topic Closed

This topic has been closed to new replies.

About this Topic