Page 1 of 3 123 LastLast
Results 1 to 10 of 332

Hybrid View

  1. #1
    Join Date
    Feb 2010
    Posts
    2,159
    Plugin Contributions
    17

    Default Responsive DIY Template Default for v1.5.x

    Being uploaded today!

    This is simply the template_default template made responsive, I wanted to upload this for those of you that like to design your own templates.

  2. #2
    Join Date
    Dec 2010
    Location
    UK
    Posts
    1,771
    Plugin Contributions
    3

    Default Re: Responsive DIY Template Default for 1.5.x

    Excellent.

  3. #3
    Join Date
    Feb 2010
    Posts
    2,159
    Plugin Contributions
    17

    Default Re: Responsive DIY Template Default for 1.5.x

    http://www.zen-cart.com/downloads.php?do=file&id=1724

    This template package comes fully loaded with (NOTHING)!

    This template package should only be used for reference in making your own template responsive or as a starting point for designing your own template. There a no added plugins or any bells and whistles included in this template package.

    The ONLY (4) files needed on the catalog side are within the (common folder).

    I included code to disable left & right column on the login page and right column on the shopping cart page (don't panic)! You should know where to change the code. HINT, the tpl_main_page.php file.

    You do need to (RUN) the sql_patches.sql code in your admin (Tools > Install SQL Patches) to add a configuration to activate the responsive code (Doing this overrides the stock Column Width - Left/Right (Boxes) configuration).

    I have also included the ADMIN layout_controller.php file (which is optional), this will allow you to hide/show side boxes at min-width from the ADMIN > TOOLS > LAYOUT BOXES CONTROLLER page.

    If you choose not to use the side box min-width controller you do not need to include the ALTER TABLE query code within the sql_patches.sql file or the (2) files within the modules folder.

    This code has been tested by others and myself but doesn't mean you will get the same results. Please remember going responsive alters the layout in many ways and many (APPEARANCE) plugins will most definitely need CSS tweaking.

    A DEMO of what to expect can be found @ http://www[.]zcadditions[.]com/responsive_default/

  4. #4
    Join Date
    Sep 2006
    Location
    USA
    Posts
    291
    Plugin Contributions
    0

    Default Re: Responsive DIY Template Default for 1.5.x

    Quote Originally Posted by rbarbour View Post
    A DEMO of what to expect can be found @ http://www[.]zcadditions[.]com/responsive_default/
    404 NOT found demo!

  5. #5
    Join Date
    Feb 2010
    Posts
    2,159
    Plugin Contributions
    17

    Default Re: Responsive DIY Template Default for 1.5.x

    Quote Originally Posted by uswebworx View Post
    404 NOT found demo!
    The DEMOS will be back up by days end, just doing some internal upgrades.

  6. #6
    Join Date
    Sep 2008
    Location
    DownUnder, overlooking South Pole.
    Posts
    976
    Plugin Contributions
    6

    Default Re: Responsive DIY Template Default for 1.5.x

    1. Where are the .offset css classes used?

    2. I see your /common/tpl_main_page.php retains the original table structure for its layout, whereas if the table layout was converted into divs and a fluid design approach adopted (see attached), much of the responsive code could be removed.

    In my example,
    • column left floats left with width prescribed in %
    • column right floats right with width prescribed in %
    • centre column does not need a prescribed width as it is determined by % margins equal to the side column % widths.


    I understand the admin Column_Width setting refers to cases listed in tpl_main_page.php which in turn draws upon the widths of the side columns prescribed the responsive.css file. However, with my fluid arrangement, as the screen size reduces, the actual px width of the side columns also reduces, until a single critical width is reached when the largest sidebox will no longer fit snugly within its respective side column. Notwithstanding that this critical width can be made to vary by manipulating the screen display using Ctrl - or + on a PC, the implication is that responsive code only has to test for a single critical width. At default Ctrl 0 display, my critical width is 575px for my three column fluid layout (before the horizontal scrollbar appears or overlapping occurs), which means all css @media (min-widths > 600px) could be dispensed with. Meanwhile I have max width set in the body tag at 1200px.

    Hope this helps.
    Attached Files Attached Files
    Last edited by dw08gm; 7 Oct 2013 at 06:36 PM.

  7. #7
    Join Date
    Mar 2006
    Location
    Melbourne, Australia
    Posts
    377
    Plugin Contributions
    0

    Default Re: Zencart and Templates Market

    I hope this question hasn't been asked, but I am interested in playing around with the responsive template stuff, and I'm wondering if I understand the install properly. Is it the case that if I run the sql, and it flicks on the Layout Settings switch, if I come to a point where I don't want to use it, I can turn it off there. Is this correct?

  8. #8
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,379
    Plugin Contributions
    9

    Default Re: Zencart and Templates Market

    Quote Originally Posted by godt View Post
    I hope this question hasn't been asked, but I am interested in playing around with the responsive template stuff, and I'm wondering if I understand the install properly. Is it the case that if I run the sql, and it flicks on the Layout Settings switch, if I come to a point where I don't want to use it, I can turn it off there. Is this correct?
    You may want to do a search for 'responsive template' (select Search Titles Only) and post your question there.

    Cheers from the Sunny Coast

  9. #9
    Join Date
    Feb 2010
    Posts
    2,159
    Plugin Contributions
    17

    Default Re: Responsive DIY Template Default for 1.5.x

    Quote Originally Posted by godt View Post
    I hope this question hasn't been asked, but I am interested in playing around with the responsive template stuff, and I'm wondering if I understand the install properly. Is it the case that if I run the sql, and it flicks on the Layout Settings switch, if I come to a point where I don't want to use it, I can turn it off there. Is this correct?
    Just change the value back to "0" Make sure any CSS changes you make are made in the responsive.css file

  10. #10
    Join Date
    Mar 2006
    Location
    Melbourne, Australia
    Posts
    377
    Plugin Contributions
    0

    Default Re: Responsive DIY Template Default for 1.5.x

    Great. Thanks. And thanks for the responsive template stuff. Worth playing about with.

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. Responsive Cold Steel Template for v1.5.x
    By rbarbour in forum Addon Templates
    Replies: 38
    Last Post: 29 May 2017, 03:12 AM
  2. v139h Please help recommend a responsive template for my website
    By augiespanoramas in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 20 Mar 2016, 08:24 PM
  3. v151 Responsive Classic Contemporary Silver Template for 1.5.x
    By rbarbour in forum Addon Templates
    Replies: 28
    Last Post: 19 Feb 2016, 04:04 PM
  4. v154 Column Text layout for responsive template
    By ozetrade in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 28 Apr 2015, 04:12 PM
  5. v139h how do I add my diy template page?
    By linjuming in forum General Questions
    Replies: 2
    Last Post: 13 Apr 2012, 08:40 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