Page 1 of 4 123 ... LastLast
Results 1 to 10 of 201

Hybrid View

  1. #1
    Join Date
    Jan 2015
    Posts
    726
    Plugin Contributions
    1

    Default Re: Responsive Classic Redesign Support thread

    if I understand correctly if you want to make the template full with you can do this

    path stylesheet_zcustom.css


    .onerow-fluid {
    margin: 0 auto !important;
    width: 100% !important;
    max-width: 1280px !important; <!-- remove this -->
    }



    path stylesheet_colors.css


    #headerWrapper {
    border-bottom: solid 1px #ccc;
    padding-bottom: 2rem;
    margin-bottom: 1rem !important;
    max-width: 1280px !important; <!-- remove this -->
    margin-left: 15px !important;
    margin-right: 15px !important;


    If you want to fit your item on one line
    go to
    path stylesheet_zcustom.css


    .shoppingcart {
    grid-template-columns: auto auto auto; <!-- add another auto -->
    text-align: center;
    gap: 1.5rem;
    margin-top: 0px;
    }

    Note if you look at the css it is all grid based. So grid template columns controls how it is being displayed.

  2. #2
    Join Date
    Jan 2015
    Posts
    726
    Plugin Contributions
    1

    Default Re: Responsive Classic Redesign Support thread

    Just to be clear if you want to add another icon next to shopping cart use css grid to create the columns.

    In CSS Grid, grid-template-columns: auto defines that each column will be sized automatically, primarily based on the content within the column. This means the width of each column will adjust to fit the widest content it contains, and the grid will expand to accommodate new columns as needed


    1st step ** Add your content within the .shoppingcart div

    <div class="shoppingcart">
    <a href="https://www.zencartdemo.com/index.php?main_page=login" aria-label="Login Details">
    <i class="fa fa-user spacer2 navitem1t" aria-hidden="true" role="img" aria-label="Login icon">&nbsp;</i></a>

    <a href="https://www.zencartdemo.com/index.php?main_page=contact_us" aria-label="Contact Us">
    <i class="fa fa-envelope spacer1 navitem2t " aria-hidden="true" role="img" aria-label="Contact icon">&nbsp;</i></a>

    <a href="https://www.zencartdemo.com/index.php?main_page=shopping_cart" aria-label="Shopping Cart">
    <i class="fa fa-shopping-cart fa-fw badge fa-lg navitem3t" aria-hidden="true" role="img" aria-label="Shopping cart icon">
    <span class="cart-count">0</span></i></a>
    </div>


    2nd step ** update css grid

    Path: /stylesheet custom.css
    we are only editing grid-template-columns


    To make it resposnive

    find this

    @media (min-width: 576px) {
    .shoppingcart {
    grid-template-columns: auto auto auto;
    text-align: center;
    gap:1.5rem;
    margin-top: 0px;
    }



    replace with

    @media (min-width: 576px) {
    .shoppingcart {
    grid-template-columns: auto auto auto auto;
    text-align: center;
    gap:1.5rem;
    margin-top: 0px;
    }

    }

    }
    Last edited by chadlly2003; 28 Apr 2025 at 10:21 PM.

  3. #3
    Join Date
    Jun 2008
    Location
    Japan
    Posts
    333
    Plugin Contributions
    7

    Default Re: Responsive Classic Redesign Support thread

    Quote Originally Posted by chadlly2003 View Post
    Just to be clear if you want to add another icon next to shopping cart use css grid to create the columns.

    In CSS Grid, grid-template-columns: auto defines that each column will be sized automatically, primarily based on the content within the column. This means the width of each column will adjust to fit the widest content it contains, and the grid will expand to accommodate new columns as needed


    1st step ** Add your content within the .shoppingcart div

    <div class="shoppingcart">
    <a href="https://www.zencartdemo.com/index.php?main_page=login" aria-label="Login Details">
    <i class="fa fa-user spacer2 navitem1t" aria-hidden="true" role="img" aria-label="Login icon">##</i></a>

    <a href="https://www.zencartdemo.com/index.php?main_page=contact_us" aria-label="Contact Us">
    <i class="fa fa-envelope spacer1 navitem2t " aria-hidden="true" role="img" aria-label="Contact icon">##</i></a>

    <a href="https://www.zencartdemo.com/index.php?main_page=shopping_cart" aria-label="Shopping Cart">
    <i class="fa fa-shopping-cart fa-fw badge fa-lg navitem3t" aria-hidden="true" role="img" aria-label="Shopping cart icon">
    <span class="cart-count">0</span></i></a>
    </div>


    2nd step ** update css grid

    Path: /stylesheet custom.css
    we are only editing grid-template-columns


    To make it resposnive

    find this

    @media (min-width: 576px) {
    .shoppingcart {
    grid-template-columns: auto auto auto;
    text-align: center;
    gap:1.5rem;
    margin-top: 0px;
    }



    replace with

    @media (min-width: 576px) {
    .shoppingcart {
    grid-template-columns: auto auto auto auto;
    text-align: center;
    gap:1.5rem;
    margin-top: 0px;
    }

    }

    }
    This does not really work here because the languages and currencies links are kind of dynamic. If there is only one language or one currency, nothing is displayed. If there is 2 or 3 then an icon for each is displayed and if there is more, one icon with a drop down menu is displayed. Which means there could be between 0 and 4 icons to display depending on ZC settings.
    I can modify plugin to not display more than one icon per language/currency, but their would still be 0, 1 or 2 icons to display.

  4. #4
    Join Date
    Jan 2015
    Posts
    726
    Plugin Contributions
    1

    Default Re: Responsive Classic Redesign Support thread

    instead of grid lets do flex

    find this

    .shoppingcart {
    grid-template-columns: auto auto auto; <!--- remove this -->
    text-align: center;
    gap: 1.5rem;
    margin-top: 0px;

    replace with


    .shoppingcart {
    display:flex <!-- this will solve your issue -->
    text-align: center;
    gap:1.5rem;
    margin-top: 0px;

  5. #5
    Join Date
    Jun 2008
    Location
    Japan
    Posts
    333
    Plugin Contributions
    7

    Default Re: Responsive Classic Redesign Support thread

    It was no right place to do the change, it was a little bit higher in the file. I replaced:
    Code:
    .shoppingcart {
    	margin-left:auto;
    	display:grid;
    	grid-template-columns: 1fr auto;
    	min-height: 44px;
    	min-width: 44px;
        position: relative;
        align-content: end;
    }
    By this:
    Code:
    .shoppingcart {
    	margin-left:auto;
    	display:flex;
    	grid-template-columns: 1fr auto;
    	min-height: 44px;
    	min-width: 44px;
        position: relative;
        align-content: end;
    }
    And now I can insert icons for languages and currencies on one line in header.
    Click image for larger version. 

Name:	_ZC_R_C_New_with_icons.png 
Views:	63 
Size:	4.9 KB 
ID:	20954

    Thanks!

  6. #6
    Join Date
    Feb 2014
    Location
    Germany
    Posts
    374
    Plugin Contributions
    0

    Default Re: Responsive Classic Redesign Support thread

    Have you tested how products are displayed at various lists with different length of title, description (preview), shipping information, tax addon price and reduced price?

    At classic responsive_classic the layout isn't good.

    Click image for larger version. 

Name:	2025-05-19-160937_1920x1080_scrot.jpg 
Views:	40 
Size:	37.6 KB 
ID:	20971
    roller-aus-blech.de
    Selling on eBay? Use the fee calculator: https://webconcept.one/en/ebay-fee-calculator/

  7. #7
    Join Date
    Apr 2011
    Posts
    586
    Plugin Contributions
    0

    Default Re: Responsive Classic Redesign Support thread

    Looks like a good restart for responsive classic.

    Why was EZ page header removed though?

    How can it be displayed again like on the original responsive classic?

    Thank you

  8. #8
    Join Date
    Jan 2015
    Posts
    726
    Plugin Contributions
    1

    Default Re: Responsive Classic Redesign Support thread

    Quote Originally Posted by Shop Suey View Post
    Have you tested how products are displayed at various lists with different length of title, description (preview), shipping information, tax addon price and reduced price?

    At classic responsive_classic the layout isn't good.

    Click image for larger version. 

Name:	2025-05-19-160937_1920x1080_scrot.jpg 
Views:	40 
Size:	37.6 KB 
ID:	20971
    To answer your questions: the classic redesign should display well across all devices and on desktop, even with longer titles and descriptions. The site is built using CSS Grid and Flexbox, which makes layout adjustments straightforward. If you come across any issues, feel free to point them out — I can make quick updates. Also, if you have suggestions for version 2, I’m open to ideas and happy to discuss new features or improvements.

  9. #9
    Join Date
    Jun 2008
    Location
    Japan
    Posts
    333
    Plugin Contributions
    7

    Default Re: Responsive Classic Redesign Support thread

    Quote Originally Posted by chadlly2003 View Post
    if I understand correctly if you want to make the template full with you can do this

    path stylesheet_zcustom.css


    .onerow-fluid {
    margin: 0 auto !important;
    width: 100% !important;
    max-width: 1280px !important; <!-- remove this -->
    }



    path stylesheet_colors.css


    #headerWrapper {
    border-bottom: solid 1px #ccc;
    padding-bottom: 2rem;
    margin-bottom: 1rem !important;
    max-width: 1280px !important; <!-- remove this -->
    margin-left: 15px !important;
    margin-right: 15px !important;


    If you want to fit your item on one line
    go to
    path stylesheet_zcustom.css


    .shoppingcart {
    grid-template-columns: auto auto auto; <!-- add another auto -->
    text-align: center;
    gap: 1.5rem;
    margin-top: 0px;
    }

    Note if you look at the css it is all grid based. So grid template columns controls how it is being displayed.
    Thanks for these information, it actually removed width limit on center column and header.

  10. #10
    Join Date
    Feb 2014
    Location
    Germany
    Posts
    374
    Plugin Contributions
    0

    Default Re: Responsive Classic Redesign Support thread

    I really like that on desktop scaling the layout is scaling 1:1

    What the original responsive_classic cannot do.
    roller-aus-blech.de
    Selling on eBay? Use the fee calculator: https://webconcept.one/en/ebay-fee-calculator/

 

 
Page 1 of 4 123 ... LastLast

Similar Threads

  1. v155 Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
    By picaflor-azul in forum Templates, Stylesheets, Page Layout
    Replies: 1087
    Last Post: 18 Jan 2025, 07:23 PM
  2. v155 Tableau 2 Responsive Theme - Support Thread
    By numinix in forum Addon Templates
    Replies: 24
    Last Post: 24 Jan 2023, 04:05 AM
  3. v156 ZCA Responsive Classic Template for 1.5.6 [Support Thread]
    By rbarbour in forum Addon Templates
    Replies: 31
    Last Post: 15 Nov 2019, 04:21 PM
  4. v155 Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
    By picaflor-azul in forum Addon Templates
    Replies: 0
    Last Post: 17 Mar 2016, 12:30 AM
  5. Bentley Classic Template Support Thread
    By picaflor-azul in forum Addon Templates
    Replies: 173
    Last Post: 17 Sep 2013, 08:25 PM

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