Does this template work ok in PHP 7.1 now?
It's really good in in PHP 6
Does this template work ok in PHP 7.1 now?
It's really good in in PHP 6
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
it doesn't appear to be in the css.
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.Code:http://4horsementackle.com/mthumb.php?src=includes/templates/FZCF7211/images/logo.png&zc=2&w=105px&h=35px
Mike
AEIIA - Zen Cart Certified & PCI Compliant Hosting
The Zen Cart Forum...Better than a monitor covered with post-it notes!
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:
best.Code:http://4horsementackle.com/mthumb.php?src=includes/templates/FZCF7211/images/logo.png&zc=2&w=296px&h=150px
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
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.
I did do the override in the config as it said.. I just cut and pasted it from what I was working on.Code:if (!defined('DEFAULT_CC')) { /** * Default canvas colour. Allows override in mthumb-config.php */ define('DEFAULT_CC', '0a0a0a'); }
@lat9 mentioned this somewhere above with regards to the functions; however the template:
tpl_login.php
is wrong.
that's in 2 different places in the code.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 > 0 ? ' 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 > 0 ? ' required' : ''), 'email'); ?>
</label>
Bookmarks