Jump to content

Help with mobile theme


Recommended Posts

Hi!
I made a mobile theme and I fixed so the system know when it is android, symbian, iphone etc.

But, now I need to get the mobile theme, I know how to get the global.css of the mobile theme but how do I get the whole theme?

To get the global.css i use this code in header.php,

if ($isIphoneIpod == '1' || $isAndroid == '1' || $isWebOS == '1') { ?>
<link rel="stylesheet" type="text/css" href="http://www.youtsite.com/themes/mobile/css/global.css" />
<?php } ?>



Any suggestions how I call the whole theme instead of just global.css?

Link to comment
Share on other sites

  • 3 weeks later...
  • 6 months later...
  • 2 years later...

Hi everyone, i have the same probleme...my automatic presentation for mobile is really messy... my home doesn't have the same original presentation and i don't know change the mobile versus.

So i mind to make a copie of the original template called mobile and switch automatically the theme by media query.

I don't know if it's possible but it seems to me the easier way.

Someone can tell me if it's safe to start this way ?

thanks for any participation. :rolleyes:

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...