How do I remove the powered by zencart logo in my header? I'm new here just to let you know!
How do I remove the powered by zencart logo in my header? I'm new here just to let you know!
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
Zen cart PCI compliant Hosting
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
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
Zen cart PCI compliant Hosting
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.
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
I used to tell folks to do that however it was causing issues in internet explorer
Zen cart PCI compliant Hosting
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![]()
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?
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.
Bookmarks