Page 3 of 16 FirstFirst 1234513 ... LastLast
Results 21 to 30 of 158
  1. #21
    Join Date
    Apr 2011
    Posts
    582
    Plugin Contributions
    0

    Default Re: Responsive Classic Redesign Support thread

    Quote Originally Posted by chadlly2003 View Post
    To get the hamburger on the right side are just need to make some minor adjustments to the css. Let me know if you need anything else.

    Step 1

    Path: \includes\templates\responsive_classic\css\stylesheet_custom_navigation.css
    line: 12

    find this
    .sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: 270px;
    background-color: #fff;
    transition: transform 0.3s ease-out;
    }

    replace

    .sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    width: 270px;
    background-color: #fff;
    transition: transform 0.3s ease-out;
    }



    find this
    line40


    .sidebar.is-hidden {
    transform: translateX(-300px);
    }

    change to
    .sidebar.is-hidden {
    transform: translateX(300px);
    }

    Step 2
    path: includes\templates\responsive_classic\css\stylesheet_zcustom.css
    Paste at bottom of page

    .nav_spacer {grid-template-columns: 3fr 1fr auto !important;}
    .nav_spacer .row {order:2}
    .baralignment {margin-left:1rem;}


    @media (min-width: 576px) {
    .nav_spacer {grid-template-columns: 3fr 2fr auto !important;}
    }


    @media (min-width: 992px) {
    .nav_spacer {grid-template-columns: 1fr 2fr 1fr auto !important;}
    }

    Attachment 20975
    Thank you

  2. #22
    Join Date
    Apr 2011
    Posts
    582
    Plugin Contributions
    0

    Default Re: Responsive Classic Redesign Support thread

    Another question:

    How do I get the logo to be in the center of page on desktop?

    I removed search_header via admin but I can't figure how to have the logo in the middle of the logoWrapper.

    Thank you for the assist

  3. #23
    Join Date
    Jan 2015
    Posts
    619
    Plugin Contributions
    1

    Default Re: Responsive Classic Redesign Support thread

    Just put this piece of code at the bottom of stylesheet_zcustom.css. I believe this is what you are looking for

    Dont forget to remove the search bar.



    Code:
    .nav_spacer {
      display: grid;
      grid-template-columns: auto auto auto;
      justify-items: left;
      align-items: center;
      margin: auto;
    }
    
    
    #logoWrapper {
      display:flex;
      justify-content:center;
    }
    
    
    
    @media (min-width: 992px)  {
    
    .nav_spacer {
    grid-template-columns:1fr 2fr 1fr}
    
    }
    Name:  Screenshot 2025-05-27 150031.jpg
Views: 172
Size:  17.8 KB
    Last edited by chadlly2003; 27 May 2025 at 08:11 PM.

  4. #24
    Join Date
    Apr 2011
    Posts
    582
    Plugin Contributions
    0

    Default Re: Responsive Classic Redesign Support thread

    thank you.

  5. #25
    Join Date
    Apr 2011
    Posts
    582
    Plugin Contributions
    0

    Default Re: Responsive Classic Redesign Support thread

    How do you increase the width of the left column?

    I tried several values via Admin - Configuration- Layout Settings but it is not changing.

    How do you hide the left column to display on mobile? CSS?

    Thank you

  6. #26
    Join Date
    Jan 2015
    Posts
    619
    Plugin Contributions
    1

    Default Re: Responsive Classic Redesign Support thread

    "How do you increase the width of the left column?"
    You just need to find the style below and change the width via css

    Path: stylesheet_zcustom.css
    line:3158

    Code:
     .onerow-fluid>[class*="col150"]:nth-child(1){
      padding-left:0rem;
      margin-right:2rem;
      width: 220px; <-- change the width here -->
      display:block;


    "How do you hide the left column to display on mobile? CSS?"
    Not sure I understand the question. Can you give a little more detail.

  7. #27
    Join Date
    Apr 2011
    Posts
    582
    Plugin Contributions
    0

    Default Re: Responsive Classic Redesign Support thread

    Quote Originally Posted by chadlly2003 View Post
    "How do you increase the width of the left column?"
    You just need to find the style below and change the width via css

    Path: stylesheet_zcustom.css
    line:3158

    Code:
     .onerow-fluid>[class*="col150"]:nth-child(1){
      padding-left:0rem;
      margin-right:2rem;
      width: 220px; <-- change the width here -->
      display:block;


    "How do you hide the left column to display on mobile? CSS?"
    Not sure I understand the question. Can you give a little more detail.

    Thank you but why not use the admin config for this? it would make it easier to adjust.

    As for [B], the left colum appears on mobile but it was my mistake. If you change the size of the column in the admin (ie 150 px to 400px) , the class seems to change as well. ( ie class=col150 becomes class=col400)

    as a result, the css gets a bit messed up.

  8. #28
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,558
    Plugin Contributions
    11

    Default Re: Responsive Classic Redesign Support thread

    Great job on accessibility, CSS, and HTML.

    There's one thing you need to consider that most checkers do not notice. That's text-decoration on links.

    Accessibility rightly expects that something on the screen will alert the customer to the fact that there is an available link to another part of the page or site. Normally, that's done with text-decoration: underline. I can understand your desire to avoid a main page full of underlined text. Technically, you are okay on a desktop as you have the cursor changing when hovering over a link.

    The problem arises when the site is viewed on a mobile device. Since there is no cursor on a mobile device, you can't rely on the cursor changing to a pointer as a way of letting the customer know there's a link at that spot.

    You might want to consider dropping the text-decoration: none on line 9 of stylesheet_colors.css when a mobile device is detected.
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

  9. #29
    Join Date
    Jan 2015
    Posts
    619
    Plugin Contributions
    1

    Default Re: Responsive Classic Redesign Support thread

    nick,


    This is a custom template. I tried to follow all the rules but sometimes the backend setting can impact the custom css. In the near future I will update the template to make it easier to update the css elements using the backend of zencart. Too be continued....

  10. #30
    Join Date
    Jan 2015
    Posts
    619
    Plugin Contributions
    1

    Default Re: Responsive Classic Redesign Support thread

    dbltoe,

    I will make the adjustments you requested on my next upgrade. This should be straight forward. Also if you see anything else let me know and i will add it to my "To DO List"

 

 
Page 3 of 16 FirstFirst 1234513 ... 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