Forums

Handling the iPhone (3 posts)

  1. gkp99
    Member
    Posted 1 month ago #

    Hi,

    I have a functioning fresh install of WP 2.5Beta and bbPress 0.9 Beta.

    I would like to present Apple iPhone users of my blog and forums with a customized template. i.e. I would like users of the iPhone to use WP with my iPhone template and everyone else the regular WP template.

    What is the best way to do this? I know how to use different stylesheets for handhelds but not different templates. Do I need another install of WP at a different URL (e.g. myblog.com/iphone). If this is the case, how do I ensure that the different URL blog is exactly the same content as my regular one?

    Thanks,

    Garry

  2. kickass
    Member
    Posted 1 month ago #

    The best way is simply to create a handheld stylesheet. And you can use display: none; for things you don't feel are important to a handheld user. You can also style things completely different since you're using a separate stylesheet. So you can make a one-column layout for the smaller screen, for instance. You can also position things so that the content comes first, and then the links.

  3. gkp99
    Member
    Posted 1 month ago #

    Thanks,

    I am relativeky new to CSS - how does the display:none thing work? It sounds like what I'm after.

    Garry,

Reply

You must log in to post.

About this Topic