Post by Stevecuns » Thu Feb 02, 2012 7:03 am

Hi guys,

have had a search on the forum but carnt seem to find help with adding the standard paypal logo to my header / footer.
i have latest oc version & default template etc.

think in the footer might look best, bottom right.

www.onlinemerchantguru.co.uk/shop

cheers in advance.

Steve......

Newbie

Posts

Joined
Thu Jan 26, 2012 4:31 am

Post by MarketInSG » Thu Feb 02, 2012 4:31 pm

Edit catalog/view/theme/YOUR-THEME/template/common/header.tpl
and catalog/view/theme/YOUR-THEME/template/common/footer.tpl

Anyway, you sure you searched this forum? Here's one --> http://forum.opencart.com/viewtopic.php?f=21&t=50007


User avatar
Guru Member

Posts

Joined
Wed Nov 16, 2011 11:53 am
Location - Singapore

Post by Stevecuns » Thu Feb 02, 2012 5:36 pm

Cheers for the info, yes i had tried the topic you suggest. It worked but the logo was not in the place i want it.

Thing is i am a noobie & not that familiar with editing php etc.

Will pop the code back into my footer file & then try and work out how to move the logo to the bottom right...

any extra help much apprechiated.

thanks

Steve......... 8-)

Newbie

Posts

Joined
Thu Jan 26, 2012 4:31 am

Post by webvet » Thu Feb 02, 2012 6:28 pm

Looks from your link that you aren't far off!

For what its work, as you are using three columns in the footer (Information, Customer Service and My Account) this is what I would do to my catalog/view/theme/default/template/common/footer.php file to place the PayPal logo in the space where the fourth column would usually be:

After

Code: Select all

<div class="column">
    <h3><?php echo $text_account; ?></h3>
    <ul>
      <li><a href="<?php echo $account; ?>"><?php echo $text_account; ?></a></li>
      <li><a href="<?php echo $order; ?>"><?php echo $text_order; ?></a></li>
      <li><a href="<?php echo $wishlist; ?>"><?php echo $text_wishlist; ?></a></li>
      <li><a href="<?php echo $newsletter; ?>"><?php echo $text_newsletter; ?></a></li>
    </ul>
  </div>
Use:

Code: Select all

<div class="column"><!-- PayPal Logo -->
  <ul><span style="list-style-type: none;">
      <li><a href="#" onclick="javascript:window.open('https://www.paypal.com/sg/cgi-bin/webscr?cmd=xpt/Marketing/popup/OLCWhatIsPayPal-outside','olcwhatispaypal','toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=yes, width=300, height=250');"><img  src="https://www.paypal.com/en_GB/SG/i/bnr/horizontal_solution_US.gif" border="0" alt="Solution Graphics"></a></li><!-- PayPal Logo -->
  </span></ul>
  </div>

Genuine, Honest Opencart Support @ http://webvetservices.com


User avatar
Active Member

Posts

Joined
Thu May 14, 2009 2:04 am
Location - Shropshire, UK

Post by Stevecuns » Thu Feb 02, 2012 6:49 pm

Cheers for that webvet, that was what i wanted to do..... 8-)

do you think i should leave the paypal logo in the footer or would it be better in the header?

also going to have a search now on help with reducing the gaps between the modules etc
atm the home page has a lot of line spacing between the modules.

thanks for your help....

any extra advice welcomed.... 8-)

Steve...

Newbie

Posts

Joined
Thu Jan 26, 2012 4:31 am

Post by MarketInSG » Thu Feb 02, 2012 7:21 pm

Check on the margins in stylesheet.css file. You can edit the spacing from there.


User avatar
Guru Member

Posts

Joined
Wed Nov 16, 2011 11:53 am
Location - Singapore

Post by Stevecuns » Thu Feb 02, 2012 7:40 pm

Cheers, having a look now but to be honest not really getting anywhere...... 8-)

steve....

Newbie

Posts

Joined
Thu Jan 26, 2012 4:31 am
Who is online

Users browsing this forum: No registered users and 368 guests