Results 1 to 6 of 6
  1. #1
    Join Date
    May 2013
    Location
    UK
    Posts
    4
    Plugin Contributions
    0

    Default Can I display my site differently on my tablet?

    Hi, I'm wondering if anyone can help with something I am trying to do. In my site I have products displayed in columns, I also have a mobile site that runs along side and displays products in a single row which looks fine on a smartphone.

    I would like to find a way to display columns when viewed on a tablet ie iPad. I'm thinking that maybe an overide can be written so that when the site is viewed on a device with a display 1024x768 (ipad mini) it automatically changes to column view.

    Or is that just a big ask?

    Thanks

  2. #2
    Join Date
    May 2013
    Location
    UK
    Posts
    4
    Plugin Contributions
    0

    Default Re: Can I display my site differently on my tablet?

    I have been looking at a file on the mobile site "mobile_detect.php" perhaps there is a way to redirect tablets to another template.

    Any thoughts would be helpful.

    Thanks

  3. #3
    Join Date
    May 2013
    Location
    UK
    Posts
    4
    Plugin Contributions
    0

    Default Re: Can I display my site differently on my tablet?

    If this helps, my root directory has includes/templates/my_template/ etc and includes/templates/my_template_mobile. If the solution requires a further template includes/templates/my_template_tablet. I could see the the logic in this solution provided that the admin panel values apply to both the desktop version and the mobile site version.

  4. #4
    Join Date
    Dec 2010
    Location
    UK
    Posts
    1,782
    Plugin Contributions
    3

    Default Re: Can I display my site differently on my tablet?


  5. #5
    Join Date
    Jun 2008
    Location
    Osprey, Florida
    Posts
    164
    Plugin Contributions
    14

    Default Re: Can I display my site differently on my tablet?

    You can do it in two different ways. You can use CSS3 media queries to hide or display specific portions of your page based on the dimensions of the device. You can also use a mobile detection script (I prefer the one from the google code website) and then add statements specifying whether you want to display a portion of your page based on the device that your visitor is using.

    There is an advantage to using the script or any mobile detection script for that matter and that is, when using media queries, your site is hiding the content however, all the code that comes along with it is still being loaded. If you use a script you can hide and remove the content completely therefore making your site somewhat faster.

  6. #6
    Join Date
    May 2013
    Location
    UK
    Posts
    4
    Plugin Contributions
    0

    Default Re: Can I display my site differently on my tablet?

    Thanks for the replies. I'm not great at CSS but have learned quite a bit since building the site. I will try the link to a mobile template on a test site and have look a the latest release of mobile_detect.php

 

 

Similar Threads

  1. Replies: 17
    Last Post: 8 Sep 2015, 04:55 PM
  2. v150 Position categories sidebox differently to rest of site
    By Annie_zaz in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 18 Aug 2013, 01:08 PM
  3. v139h Can I have products display differently?
    By brians34 in forum General Questions
    Replies: 4
    Last Post: 17 Jan 2012, 10:02 PM
  4. Poducts being indexed differently within site
    By Orchard_Direct in forum General Questions
    Replies: 5
    Last Post: 9 Aug 2009, 03:02 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR