@RescoCCC, I applied the changes you suggested but after that my
logo was'nt there anymore, so I have changed it all back as it was.
ceesdk
Printable View
<!--<div id="logo"></div>--> this is your problem. Images called for out of the style sheet do not have alt text.
Put your logo in your templates images folder and name it logo.gif
Remove this <!--<div id="logo"></div>-->
and add this.
<div id="logo"><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">' . zen_image($template->get_template_dir(HEADER_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT) . '</a>'; ?></div>
how to add alt names to my images here
PS your alt text was not missing as you never added it
Then edit this
#logoWrapper {
/*background-image : url(../images/header_bg.jpg);
background-repeat : repeat-x; */
background-color : #ffffff;
width : 1100px;
height : 148px;
}
It baffles me as to why you would add image to the logo wrapper
All you needed to do was edit the logo.gif that was already there and make changes to the size in your includes/languages/english/your_template/header.php
I am sorry to "baffles you", what ever it means, but I am not a php programmer and just trying to use Zen-cart. Which I like to do, only sometimes I need a little help !
I also need help with a printing problem printing the invoices. My logo is to small on the print (see attachment) and I can't find the
file or place to change the width on the print.
regards, ceesdk
I am sorry to "baffles you", what ever it means, but I am not a php programmer and just trying to use Zen-cart. Which I like to do, only sometimes I need a little help !
This is a xhtml not php
there are wrappers and inside those are content. You chose to use the wrapper to insert an image.... not the #logo style. (which by the way only needed to be removed from the rest of the styles and singled out)..... works but not the way to be done.
admin>includes>languages>english.php
define('HEADER_ALT_TEXT', 'Admin Powered by Zen Cart :: The Art of E-Commerce');
define('HEADER_LOGO_WIDTH', '200px');
define('HEADER_LOGO_HEIGHT', '70px');
I find it best to use only white background with simple text as to not use a bunch of ink to print invoices out........... They just need to know it came from you.
Uh, that's the way Zen Cart codes a header image. In the #logoWrapper.Quote:
It baffles me as to why you would add image to the logo wrapper
Well , I like to have some better appearance on the invoice, so I have the following in admin>includes>languages>english.php :
define('HEADER_ALT_TEXT', 'Airlinersbuyweb.com :: Buying Aircraft pictures on Canvas');
define('HEADER_LOGO_WIDTH', '1100px');
define('HEADER_LOGO_HEIGHT', '148px');
define('HEADER_LOGO_IMAGE', 'logo.jpg');
cees
That is because you did not follow the rest of the directions
!--<div id="logo"></div>--> this is your problem. Images called for out of the style sheet do not have alt text.
Put your logo in your templates images folder and name it logo.gif
Remove this <!--<div id="logo"></div>-->
and add this.
<div id="logo"><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">' . zen_image($template->get_template_dir(HEADER_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT) . '</a>'; ?></div>