Page 1 of 3 123 LastLast
Results 1 to 10 of 23
  1. #1
    Join Date
    Jul 2006
    Posts
    1
    Plugin Contributions
    0

    Default Removing powered by Zen Cart Logo in Header

    How do I remove the powered by zencart logo in my header? I'm new here just to let you know!

  2. #2
    Join Date
    Mar 2004
    Posts
    16,020
    Plugin Contributions
    5

    Default Re: Removing powered by Zen Cart Logo in Header

    the faq is a good place to start looking,
    but if you want to replace it, then insert your graphic into
    includes/templates/your template/images

    name it logo.gif

    to remove it totally
    you will need to comment outthe code in
    includes/templates/YOUR TEMPLATE/common/tpl_header.php

  3. #3
    Join Date
    Jul 2006
    Posts
    4
    Plugin Contributions
    0

    Default Re: Removing powered by Zen Cart Logo in Header

    Would you please elaborate on which line to comment out? I am really new to Zencart and would like to remove the linked logo entirely. Thanks a lot!
    Jules

  4. #4
    Join Date
    Mar 2004
    Posts
    16,020
    Plugin Contributions
    5

    Default Re: Removing powered by Zen Cart Logo in Header

    find

    <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>


    add <!-- in front of it and --> behind it

  5. #5
    Join Date
    Jul 2006
    Posts
    4
    Plugin Contributions
    0

    Default Re: Removing powered by Zen Cart Logo in Header

    Different idea here.

    I created a transparant image and replaced the "powered by..." image with this. No code to change and the shape of the transparent image lines up with my store name so it is still clickable and works properly.

  6. #6
    Join Date
    Jul 2006
    Posts
    4
    Plugin Contributions
    0

    Default Re: Removing powered by Zen Cart Logo in Header

    Thanks,
    This really worked for me! I have taken PHP coding courses, and the code still intimidates me! It turned out that I did make a transparent gif and this made the logo link up to the home page quite nicely as well. Thanks for the advice!

    Jules

  7. #7
    Join Date
    Mar 2004
    Posts
    16,020
    Plugin Contributions
    5

    Default Re: Removing powered by Zen Cart Logo in Header

    I used to tell folks to do that however it was causing issues in internet explorer

  8. #8
    Join Date
    Jul 2006
    Posts
    4
    Plugin Contributions
    0

    Default Re: Removing powered by Zen Cart Logo in Header

    I really do appreciate your words of advice, here, believe me! I do like the fact that you can comment out code! At least there are less mistakes made that way (for me, anyway)! I will definately play around more with your way of doing it when I have more time on my hands to experiment. Thanks!
    Jules

  9. #9
    Join Date
    Jul 2008
    Posts
    6
    Plugin Contributions
    0

    Default Re: Removing powered by Zen Cart Logo in Header

    I'm looking at this site http://www.the-covenstead.com/ for a friend and want to remove the little box below Home. I have searched the forum but have files missing or code missing.
    I tried this
    but if you want to replace it, then insert your graphic into
    includes/templates/your template/images

    name it logo.gif
    I tried this but no good

    So looked for 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>

    I have searched every file on the server and none of them contain <div id="logo">

    I havenít got this path

    includes/templates/YOUR TEMPLATE/common/tpl_header.php

    She is using Classic template so should be includes/templates/classic/common/tpl_header.php
    But is actually like this includes\templates\classic

    And in this folder the only files are
    Folder = css
    Folder = images
    File = template_info.php

    This box on the page only appears in Internet explorer

    Can someone please tell me where I am going wrong?

  10. #10
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    19,670
    Plugin Contributions
    3

    Default Re: Removing powered by Zen Cart Logo in Header

    You'll have to go to includes/templates/template_default/common to download that file (tpl_header.php). Then, after commenting out the proper lines, upload it to includes/templates/classic/common (which you'll have to create).

    BTW, look in Admin - Tools - Developers Tool Kit and search for <div "id= logo"> and it will return that file.

 

 
Page 1 of 3 123 LastLast

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
  •