Results 1 to 10 of 10
  1. #1
    Join Date
    Aug 2006
    Posts
    135
    Plugin Contributions
    0

    Default How can I make my site logo be a link to home?

    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

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: How can I make my site logo be a link to home?

    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

  3. #3
    Join Date
    Aug 2006
    Posts
    135
    Plugin Contributions
    0

    Default Re: How can I make my site logo be a link to home?

    Where should that image be stored?
    my CSS said this:

    #logoWrapper{
    background-image: url('../images/badluck_w.jpg');
    background-repeat: repeat-x;
    background-color: #ffffff;
    height:150px
    }
    Which is the error I think you were talking about.

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: How can I make my site logo be a link to home?

    Looking at your view source:
    Code:
    <!--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-->
    You do not have a logo.gif image there to be loaded

    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

  5. #5
    Join Date
    Aug 2006
    Posts
    135
    Plugin Contributions
    0

    Default Re: How can I make my site logo be a link to home?

    I've done that and still no joy?!

  6. #6
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: How can I make my site logo be a link to home?

    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

  7. #7
    Join Date
    Aug 2006
    Posts
    135
    Plugin Contributions
    0

    Default Re: How can I make my site logo be a link to home?

    Done that... when I view the source I can see the logo.gif is now there, but it still isn't a link?!

  8. #8
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: How can I make my site logo be a link to home?

    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

  9. #9
    Join Date
    Aug 2006
    Posts
    135
    Plugin Contributions
    0

    Default Re: How can I make my site logo be a link to home?

    Quote Originally Posted by kobra View Post
    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
    Sorry, do you want me to post my tpl_header.php file?

  10. #10
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: How can I make my site logo be a link to home?

    I think just the section of the file that I posted over the full file
    Zen-Venom Get Bitten

 

 

Similar Threads

  1. v139h How to Make the LOGO link point to the website home page in parent folder.
    By lynbor in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 5 Jan 2016, 10:04 PM
  2. How can I make zencart to be my home page?
    By newday in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 23 Nov 2010, 05:14 PM
  3. Logo link - how can I make clickable space larger?
    By Kenichi in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 27 Apr 2010, 07:33 AM
  4. Can 'Logo' link to another web site??
    By skyegospel in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 30 Sep 2008, 05:38 PM
  5. How to make site link to itself?
    By duquecigars in forum Templates, Stylesheets, Page Layout
    Replies: 12
    Last Post: 3 May 2008, 01:17 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