Page 4 of 4 FirstFirst ... 234
Results 31 to 37 of 37
  1. #31
    Join Date
    May 2006
    Posts
    26
    Plugin Contributions
    0

    Default Re: Foundation Theme for ZenCart

    Does this template work ok in PHP 7.1 now?
    It's really good in in PHP 6

  2. #32
    Join Date
    Jun 2011
    Posts
    72
    Plugin Contributions
    0

    Default Re: Foundation Theme for ZenCart

    Love the template.. I am using it for this site..

    www.4horsementackle.com

    The only problem I have is when I shrink the page in a responsive way.. the Logo ends up with a white background... I have searched all over the css.. used inspector... I cannot figure out the fix!

    any help would be appreciated.

    Brian

  3. #33
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,739
    Plugin Contributions
    0

    Default Re: Foundation Theme for ZenCart

    it doesn't appear to be in the css.

    Code:
    http://4horsementackle.com/mthumb.php?src=includes/templates/FZCF7211/images/logo.png&zc=2&w=105px&h=35px
    That is the link to logo when in the small viewport. So when the logo.png is processed by the mthumb.php it is the resulting image that ends up being produced that has white sides on it. How to resolve that I do not know as I haven't worked with this template, but that should get you pointed in the right direction.
    Mike
    GeekHost - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  4. #34
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,669
    Plugin Contributions
    9

    Default Re: Foundation Theme for ZenCart

    Quote Originally Posted by barco57 View Post
    it doesn't appear to be in the css.

    Code:
    http://4horsementackle.com/mthumb.php?src=includes/templates/FZCF7211/images/logo.png&zc=2&w=105px&h=35px
    That is the link to logo when in the small viewport. So when the logo.png is processed by the mthumb.php it is the resulting image that ends up being produced that has white sides on it. How to resolve that I do not know as I haven't worked with this template, but that should get you pointed in the right direction.
    when i looked at this yesterday, i noticed that. however it looked like the large viewport was using the same image. today when i look at it, the large viewport uses a different image. maybe yesterday, i did not have enough coffee!

    so @barco57 is correct. its is not the template that is causing the problem. it is the image. you can either modify the image to eliminate the white sides, or modify the template to use the same image as the large viewport, but resize it.

    the large image is at:

    Code:
    http://4horsementackle.com/mthumb.php?src=includes/templates/FZCF7211/images/logo.png&zc=2&w=296px&h=150px
    best.
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  5. #35
    Join Date
    Jun 2011
    Posts
    72
    Plugin Contributions
    0

    Default Re: Foundation Theme for ZenCart

    Hmm.. well it is using the same image because I only have one logo.png... It's getting resized by that php program.. so I will look into that and report back!

    Brian

  6. #36
    Join Date
    Jun 2011
    Posts
    72
    Plugin Contributions
    0

    Default Re: Foundation Theme for ZenCart

    Well.. You pointed me the right direction with the mthumb.php

    This is an image resizing tool. and in there is a background color option or transparent pass thru. I just changed it from white to black and voila.. fixed.

    It was FFFFF and I changed it to OaOaOa... I am not sure why it was not taking the background from the CSS file.. but it is what it is.

    Code:
    if (!defined('DEFAULT_CC')) {
    	/**
    	 * Default canvas colour. Allows override in mthumb-config.php
    	 */
    	define('DEFAULT_CC', '0a0a0a');
    }
    I did do the override in the config as it said.. I just cut and pasted it from what I was working on.

  7. #37
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,669
    Plugin Contributions
    9

    Default Re: Foundation Theme for ZenCart

    @lat9 mentioned this somewhere above with regards to the functions; however the template:

    tpl_login.php

    is wrong.

    PHP Code:
                               <label for="login-email-address"><?php echo ENTRY_EMAIL_ADDRESS?>
                                    <?php echo foundation_password_field('email_address''''size="18" id="login-email-address" autofocus placeholder="' ENTRY_EMAIL_ADDRESS '"' . ((int)ENTRY_EMAIL_ADDRESS_MIN_LENGTH ' required' ''), 'email'); ?>
                                </label>

    //should be:

                              <label for="login-email-address"><?php echo ENTRY_EMAIL_ADDRESS?>
                                    <?php echo foundation_email_field('email_address''''size="18" id="login-email-address" autofocus placeholder="' ENTRY_EMAIL_ADDRESS '"' . ((int)ENTRY_EMAIL_ADDRESS_MIN_LENGTH ' required' ''), 'email'); ?>
                                </label>
    that's in 2 different places in the code.
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

 

 
Page 4 of 4 FirstFirst ... 234

Similar Threads

  1. Replies: 3
    Last Post: 28 Jun 2011, 04:50 PM
  2. Mobile theme for zencart?
    By matteoraggi in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 25 Jan 2011, 10:30 PM
  3. remove Free ZenCart jQuery Theme
    By lieven23 in forum Addon Templates
    Replies: 11
    Last Post: 22 May 2009, 03:32 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