Hi,
The logo to my site is not a link... is it possible yo make it a link back the the front page?
http://www.badluckclothing.co.uk
Cheers
Dan
Hi,
The logo to my site is not a link... is it possible yo make it a link back the the front page?
http://www.badluckclothing.co.uk
Cheers
Dan
If referring to the page you linked - then you do not are not using the logo function and only have the top image as a background image.
Check default coding and make it a gif and name it logo.gif
It will then be a link
Zen-Venom Get Bitten
Where should that image be stored?
my CSS said this:
Which is the error I think you were talking about.#logoWrapper{
background-image: url('../images/badluck_w.jpg');
background-repeat: repeat-x;
background-color: #ffffff;
height:150px
}
Looking at your view source:
You do not have a logo.gif image there to be loadedCode:<!--bof-branding display--> <div id="logoWrapper"> <!-- <div id="logo"><a href="http://www.badluckclothing.co.uk/"><img src="includes/templates/badluck/images/" alt="BadLuckClothing" title=" BadLuckClothing " /></a></div> --> </div> <br class="clearBoth" /> <!--eof-branding display-->
As I outlined - turn your image into a gif and name it "logo.gif" and it is uploaded to your template/images folder or in your case this is:
includes/templates/badluck/images/logo.gif
Zen-Venom Get Bitten
I've done that and still no joy?!
Go back and check your copy of header.php and make sure that the red entries are there and adjust the dimension values to yours
Code:// added defines for header alt and text define('HEADER_ALT_TEXT', 'Powered by Zen Cart :: The Art of E-Commerce'); define('HEADER_SALES_TEXT', 'TagLine Here'); define('HEADER_LOGO_WIDTH', '192px'); define('HEADER_LOGO_HEIGHT', '64px'); define('HEADER_LOGO_IMAGE', 'logo.gif');
Zen-Venom Get Bitten
Done that... when I view the source I can see the logo.gif is now there, but it still isn't a link?!
Try posting this section from your copy of tpl_header.php
Code:<div id="headerWrapper"> <!--bof-branding display--> <div id="logoWrapper"> <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> <?php if (HEADER_SALES_TEXT != '' || (SHOW_BANNERS_GROUP_SET2 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET2))) { ?> <div id="taglineWrapper"> <?php
Zen-Venom Get Bitten
I think just the section of the file that I posted over the full file
Zen-Venom Get Bitten
Bookmarks