Page 48 of 109 FirstFirst ... 3846474849505898 ... LastLast
Results 471 to 480 of 1088
  1. #471
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,346
    Plugin Contributions
    94

    Default Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

    Quote Originally Posted by amart79196 View Post
    I do not by any means mean to change topics on a thread, but it is responsive classic related. Please move it if necessary.

    When I did the upgrade to my cart from 1.5.5e to f, the way in which my logo displayed went from what it is supposed to be to displaying very small.

    This is what I did:

    I went into the file located a "/includes/templates/responsive_classic/common/tpl_header.php ". I removed from line 167 “, HEADER_LOGO_WIDTH, HEADER_LOGO_HEIGHT”. This allowed the logo to actually display correctly (the correct size) again.

    My main question:

    Is this actually the most correct way to address the logo size or is this basically incorrect and there is a more correct way to do this?

    Many thanks in advance for your time and answer.
    It's for exactly these kinds of upgrade-issues that Clone a Template was created. I'd suggest downloading that plugin to make a clone of the responsive_classic template that you can customize for your site's use.

    That way, when the next Zen-Cart version is released, an upgrade won't overwrite any changes (like above) that you've made.

    BTW, rather than removing those definitions from the header-image's display, you can make a template-specific copy of /includes/languages/english/header.php (copying to /includes/languages/english/YOUR_TEMPLATE/header.php) and then edit those two constants to reflect the size of your header-image.

  2. #472
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,448
    Plugin Contributions
    11

    Default Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

    Yep, those two items were added to 155f to fix a long-time problem with the logo not properly responding to the size set forth in the header.

  3. #473
    Join Date
    Jul 2010
    Posts
    72
    Plugin Contributions
    0

    Default Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

    Would it then be safe to say that if I was to put back what I took out of the file in "tpl_header.php" and make an adjustment instead to the "header.php" file, would that be a "more correct" way of resizing the logo size?

  4. #474
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,448
    Plugin Contributions
    11

    Default Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

    Any time you can avoid munging core files and simply change a setting in a file, that's the better way to go.

  5. #475
    Join Date
    Jul 2010
    Posts
    72
    Plugin Contributions
    0

    Default Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

    I hate to sound stupid, but, what file would you be considering a core file? Sorry, a bit new here.

  6. #476
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,448
    Plugin Contributions
    11

    Default Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

    Technically not core in this case but, core is generally considered any file that is not able to be easily overridden by the override system. For instance, the tpl_header.php file that you changed is an override of the Template Default version. In order to override the responsive_classic version, you would need to clone responsive_classic to something like MY_TEMPLATE. Then, when an upgrade is done, you don't lose any changes you made to the files as you have them in your personalized override template.

    lat9 has an excellent chart that shows where you can use overrides to protect changes from overwrite on upgrade. Any time you can avoid changing a file by changing a setting, it's a good thing. Take a look at the chart and see if it makes a little more sense.

  7. #477
    Join Date
    Jan 2011
    Posts
    367
    Plugin Contributions
    0

    Default Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

    Hope i'm not off subject but with my 1.5.5 I have an issue. when I click on a category from the category list I get a 404 page even though the category is populated with products

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

    Default Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

    You need to answer the posting tips and we can be of more help but, 404 generally means something is missing. Any debug files in your /logs directory?

  9. #479
    Join Date
    Aug 2008
    Location
    Abbottabad, Pakistan
    Posts
    60
    Plugin Contributions
    0

    Default Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

    I want to change the background ..see attached

    Name:  background_space_on_left_and_right.jpg
Views: 544
Size:  38.6 KB

    When I make changes to stylesheet_colors.css file, changes dont reflect in the website. Where I am doing it wrong?

    Usman

  10. #480
    Join Date
    Apr 2007
    Location
    Ontario, Canada
    Posts
    1,731
    Plugin Contributions
    27

    Default Re: Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]

    Quote Originally Posted by mani View Post
    I want to change the background ..see attached

    Name:  background_space_on_left_and_right.jpg
Views: 544
Size:  38.6 KB

    When I make changes to stylesheet_colors.css file, changes dont reflect in the website. Where I am doing it wrong?

    Usman
    You could add this to your .css:
    #mainWrapper {background-image: url(../images/YOUR_IMAGE.jpg); background-repeat: no-repeat; background-size: cover; background-position: center;}
    Twitch.
    https://www.twitchtoo.com Do you work for free? Please donate.
    Twitch Base8 - Obsidian - This, is what's new.

 

 
Page 48 of 109 FirstFirst ... 3846474849505898 ... LastLast

Similar Threads

  1. v155 Support Thread - Responsive Color Changes for 155
    By dbltoe in forum Templates, Stylesheets, Page Layout
    Replies: 99
    Last Post: 1 Oct 2021, 12:31 PM
  2. v151 Tableau Responsive Theme - Support Thread
    By numinix in forum Addon Templates
    Replies: 622
    Last Post: 19 Apr 2020, 11:11 PM
  3. 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
  4. v154 Order Steps Responsive [Support Thread]
    By davewest in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 5 Jul 2015, 06:11 PM
  5. Bentley Classic Template Support Thread
    By picaflor-azul in forum Addon Templates
    Replies: 173
    Last Post: 17 Sep 2013, 08:25 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