Results 1 to 6 of 6
  1. #1
    Join Date
    Feb 2015
    Location
    USA
    Posts
    86
    Plugin Contributions
    0

    Default Adding sidebox to mobile

    I'm using ZC 1.56c. My website is spminiatures.com

    On the computer version of the site I have a manufacturers (renamed shop by artisan) side box drop down menu.
    This is not appearing on the mobile version.
    I didn't find any setting in the admin section.

    I found an old post which references the css files for responsive_mobile, responsive_default and responsive_tablet but the code that was referred to in the post did not appear in the table and mobile files. The code was in the responsive_default.css but the code didn't reflect what was showing on the mobile. I tried changing the code in the responsive_default but it didn't work.

    The code referred to in the post is in the templates/responsive_classic/css/responsive_default.css

    /*bof side-boxes*/
    /* ADD { display:none;visibility:hidden; } to Hide Side-Box */
    /* LEAVE BLANK { } to Show Side-Box */
    div#documentcategories {display:none;visibility:hidden;}
    div#categories {display:none;visibility:hidden;}
    div#whatsnew {display:none;visibility:hidden;}
    div#manufacturers {display:none;visibility:hidden;}
    div#reviews {display:none;visibility:hidden;}
    div#featured {display:none;visibility:hidden;}
    div#information {display:none;visibility:hidden;}
    div#moreinformation {display:none;visibility:hidden;}
    div#bannerbox {display:none;visibility:hidden;}
    div#ezpages {display:none;visibility:hidden;}
    div#recordcompanies {display:none;visibility:hidden;}
    div#musicgenres {display:none;visibility:hidden;}
    div#bannerboxall {display:none;visibility:hidden;}
    div#search {display:none;visibility:hidden;}
    div#bannerbox2 {display:none;visibility:hidden;}
    div#bestsellers {display:none;visibility:hidden;}
    div#specials {display:none;visibility:hidden;}
    div#whosonline {display:none;visibility:hidden;}
    div#shoppingcart {display:none;visibility:hidden;}


    On the mobile display the categories and ezpages are displaying even though the code above states that they're hidden. When I left the manufacturers line blank, it didn't change the display on the phone. My question is, is there another file responsible for the sideboxes that are visible in the mobile display?

    Thanks for your help
    Carol

  2. #2
    Join Date
    Jul 2012
    Posts
    14,210
    Plugin Contributions
    17

    Default Re: Adding sidebox to mobile

    You may have yourself somewhat in a loop of confusion. :)

    Here's some troubleshooting tips.

    To understand the css from a tablet or mobile perspective (there is one for each). May I suggest using your desktop and setting the current template/layout to whichever you are interested in: mobile or tablet.

    To do this, add the parameter layoutType= to your Web address. Then you can use F12 to inspect the data and temporarily modify the css.

    To view as a mobile device add mobile at the end of the new parameter. To view as a tablet, add the word tablet.

    See, part of the issue may be the cache of data.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...
    Upgraded to Zen Cart V1.5.3 from V1.5.1 from V1.5.0 from V1.3.9h

  3. #3
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    8,756
    Plugin Contributions
    68

    Default Re: Adding sidebox to mobile

    You'll need to edit your /includes/templates/responsive_classes/templates/tpl_modules_mobile_menu.php to add the display of that sidebox.

    P.S. Do yourself a favor and "clone" (via Clone a Template) your current copy of the built-in responsive_classic template. You'll save yourself a world-of-hurt the next time you upgrade.

  4. #4
    Join Date
    Feb 2015
    Location
    USA
    Posts
    86
    Plugin Contributions
    0

    Default Re: Adding sidebox to mobile

    Quote Originally Posted by lat9 View Post
    You'll need to edit your /includes/templates/responsive_classes/templates/tpl_modules_mobile_menu.php to add the display of that sidebox.

    P.S. Do yourself a favor and "clone" (via Clone a Template) your current copy of the built-in responsive_classic template. You'll save yourself a world-of-hurt the next time you upgrade.
    I do have everything cloned but thanks for the tip. I learned this the hard way.

    Carol

  5. #5
    Join Date
    Feb 2015
    Location
    USA
    Posts
    86
    Plugin Contributions
    0

    Default Re: Adding sidebox to mobile

    Quote Originally Posted by lat9 View Post
    You'll need to edit your /includes/templates/responsive_classes/templates/tpl_modules_mobile_menu.php to add the display of that sidebox.

    P.S. Do yourself a favor and "clone" (via Clone a Template) your current copy of the built-in responsive_classic template. You'll save yourself a world-of-hurt the next time you upgrade.
    I've tried several trial and error and I'm at the clueless point. Is there somewhere I can find the code I need to put in to that file.
    Thanks
    Carol

  6. #6
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    8,756
    Plugin Contributions
    68

    Default Re: Adding sidebox to mobile

    The reason I asked is that the site you posted is using the responsive_classic (misspelled in my original post) template.

 

 

Similar Threads

  1. Adding slideshow javascript crashes my mobile menu
    By bushpilot444 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 5 May 2016, 01:53 PM
  2. v139h I bought a mobile template; how do I Mobile Device to Show Desktop version by Default
    By explorer1979 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 2 Mar 2013, 03:42 PM
  3. Mobile friendly & Adding links to pictures in EZ Pages
    By salib in forum General Questions
    Replies: 5
    Last Post: 22 Apr 2010, 02:11 AM
  4. adding a sidebox
    By rhaught in forum Setting Up Categories, Products, Attributes
    Replies: 8
    Last Post: 6 Jan 2009, 02:18 AM
  5. Adding one sidebox to a define page when sidebox is turned off
    By Happyworker in forum Basic Configuration
    Replies: 3
    Last Post: 30 Nov 2008, 01:27 AM

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