Support » Fixing WordPress » P2 Style-Iphone.css for Android

  • 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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • 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 🙂

    nice… it makes a “quick mobile version… but you are right, it’s not 100%

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘P2 Style-Iphone.css for Android’ is closed to new replies.