Im making a small store for my mum for a small home business and she would like the powered by opencart removed from the bottom of the page and the order e-mails, ive tried myself but being new to php/html seem to be getting it wrong.
ive searched the forum but carnt find the exact lines to remove.
Also when i upload a new logo which is taller than the standard one the tabs on the main page separate from the main blue bar (i.e a gap between them)
How do i ad a larger logo without affect the standard template?
Thanks for any help or suggestions.
Code: Select all
/catalog/view/theme/default/template/common/footer.tpl
Code: Select all
<!--
OpenCart is open source software and you are free to remove the Powered By OpenCart if you want, but its generally accepted practise to make a small donatation.
Please donate via PayPal to donate@opencart.com
//-->
<div class="div2"><?php echo $text_powered_by; ?></div>
<!--
OpenCart is open source software and you are free to remove the Powered By OpenCart if you want, but its generally accepted practise to make a small donatation.
Please donate via PayPal to donate@opencart.com
//-->
To change the logo, go to the image tab in system > settings in your admin panel, you will see it there and can click it and change it
Ive changed the logo via the admin section but its larger than the standard logo that comes with a fresh install and after changing to logo (to a bigger one) its messes with the template, the tabs have a 4/5 mm gap between them and the blue bar below, would moving the image location via code do this?
When
Code: Select all
<div class="div2"><?php echo $text_powered_by; ?></div>
is removed both Powered by and copyright go away. I'd like to keep the 'Store name (c) Year' as the year changes automatically.
Code: Select all
<div class="div2">© Your Store 2010 - <?php echo date('Y'); ?></div>
http://scarletandjones.com/
http://sharpdressedman.co.uk/
http://coffincompany.co.uk/
http://horsesculptures.co.uk/
If I've helped you out, why not buy me a beer? http://craigmurray.me.uk
catalog/language/english/common/footer.phpEdward_ wrote:Do you know where $text_powered_by; gets it value though?
I wanted to pass the Storename to the copyright line.
Change:
Code: Select all
$_['text_powered_by'] = 'Powered By <a href="http://www.opencart.com">OpenCart</a><br /> %s © %s';
Code: Select all
$_['text_powered_by'] = '%s © %s';
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool
If you're not living on the edge ... you're taking up too much space!
Ive gone into the language file for mail and removed the powered by bit but the e-mails still say opencart. where can i remove this?
Thanks.
Then near the bottom you'll see
Code: Select all
<?php echo $text_powered_by; ?> <a href="http://www.opencart.com" style="text-decoration: none; color: #374953;">OpenCart</a>
http://scarletandjones.com/
http://sharpdressedman.co.uk/
http://coffincompany.co.uk/
http://horsesculptures.co.uk/
If I've helped you out, why not buy me a beer? http://craigmurray.me.uk
Ive attached the photo of of what the site looks like with the logo and as you can notice the tabs on the right have a large gap between them and the bar below where as with the standard logo there is no gap.
What change needs to be made to the css file to remove the gap. anything i try just seems to break it further.
Code: Select all
#header .div3 {
float: right;
padding-top: 7px;
height: 38px;
}
That might work.
http://scarletandjones.com/
http://sharpdressedman.co.uk/
http://coffincompany.co.uk/
http://horsesculptures.co.uk/
If I've helped you out, why not buy me a beer? http://craigmurray.me.uk
Code: Select all
margin-bottom: 100px;
http://scarletandjones.com/
http://sharpdressedman.co.uk/
http://coffincompany.co.uk/
http://horsesculptures.co.uk/
If I've helped you out, why not buy me a beer? http://craigmurray.me.uk
i prefer a change in the footer.tpl so i dont have to mess with files wich can get updated.fido-x wrote: Change:to:Code: Select all
$_['text_powered_by'] = 'Powered By <a href="http://www.opencart.com">OpenCart</a><br /> %s © %s';
Code: Select all
$_['text_powered_by'] = '%s © %s';
change in the footer.tpl
Code: Select all
<div class="div2"><?php echo $text_powered_by; ?></div>
Code: Select all
<div class="div2"><?php echo substr($text_powered_by, 64); ?></div>
best regards
Users browsing this forum: No registered users and 13 guests