Evening all - just installed Zen Cart today and this is my 1st post so please be gentle! he he
Seem to have got the hang of the bits ive tried but there is one thing (thusfar) that im stuck on...
Right, ive uploaded my logo to my mytemplate folder, however (not sure if this is important or not) but it is a .png file. Ive managed to find and modify the header file so that it brings up logo.png and this works fine, so the logo is up in png format.
Originally i was having the problem that the logo wasnt quite covering the previous header that was in place. Ive sorted that out by deleting the default zencart logo which again, has worked fine. I now have a logo, looking as i want it to in the right part of the screen, with nothing behind it.
BUT.... its not quite big enough, and doesnt reach the edges of the nav bars above and below it. Ive tried resaving the .png file as a bigger picture but no luck, and have also tried to modify the header file to make the logo a bigger picture, again, with no luck. regardless of the size of the .png or the header page sizes the image stays the same (ie a bit small). The script in the header currently reads this:
// added defines for header alt and text
define('HEADER_ALT_TEXT', 'Powered by Zen Cart :: The Art of E-Commerce [home link]');
define('HEADER_SALES_TEXT', '<h1></h1>');
define('HEADER_LOGO_WIDTH', '200px');
define('HEADER_LOGO_HEIGHT', '70px');
define('HEADER_LOGO_IMAGE', 'logo.png');
(Have tried setting the width to 250, 300, 1000 etc but doesnt make a difference, also tried setting it to 100% - was worth a shot but no luck)
Ive searched the forums and i see some people have had the same problem and rectified it using the 2 methods ive tried but it hasnt worked for me. Is it because they are using .gif and im using .png? or am i clutching at straws?
Any help greatly appreciated!
![]()



