Hi
Great application.
I'm wanting to place a logo throughout thestore front instead of just text as the store name. How can I do this please?
- catalog/view/theme/<your_theme>/template/common/header.tpl file.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Well, usually, there is always a logo in the header section visible, but it's only visible, if it exists
in the ShopROOT/image/data/.... Section, and if it's named logo.png ( by OC Default at least! )
But to make sure, this Code above could simply be changed to a DIRECT HREF- image link:
Good Luck!
Ernie
in the ShopROOT/image/data/.... Section, and if it's named logo.png ( by OC Default at least! )
Code: Select all
<div id="logo">
<?php if ($logo) { ?>
<a href="<?php echo $home; ?>"><img src="<?php echo $logo; ?>" title="<?php echo $name; ?>" alt="<?php echo $name; ?>" class="img-responsive" /></a>
<?php } else { ?>
<h1><a href="<?php echo $home; ?>"><?php echo $name; ?></a></h1>
<?php } ?>
</div>
Code: Select all
<div id="logo">
<?php if ($logo) { ?>
<a href="<?php echo $home; ?>"><img src="http://yoursite.com/yourshop/image/data/yourimage.png" title="<?php echo $name; ?>" alt="<?php echo $name; ?>" class="img-responsive" /></a>
<?php } else { ?>
<h1><a href="<?php echo $home; ?>"><?php echo $name; ?></a></h1>
<?php } ?>
</div>
Ernie
My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
Who is online
Users browsing this forum: No registered users and 196 guests