Post by cart builder » Thu Apr 17, 2014 1:12 am

Greetings all!

Was wondering if anybody could help me with the following please:

I need to add/change something to the following Trustwave logo script to allow me to position the logo properly on my website (in footer.tpl) :

<script type="text/javascript" src="https://sealserver.trustwave.com/seal.j ... "></script>


Although i know how to create script for normal images to position them, for e.g.

<img src="image/data/YOUR-IMAGE.PNG" style="position:absolute; margin-left:480px; margin-top:15px ; width:50px ; height:50px ;" alt=""/>

I don't know how to change the script for the Trustwave logo, which would redirect the customer to the Trustwave website. I've spent hours trying to sort this out so any help would be greatly appreciated !
Last edited by cart builder on Thu Apr 17, 2014 3:16 am, edited 1 time in total.

New member

Posts

Joined
Wed May 15, 2013 7:11 pm
Location - England

Post by tacobandito » Thu Apr 17, 2014 1:30 am

Try

Code: Select all

<div style="STYLES">
<script type="text/javascript" src="https://sealserver.trustwave.com/seal.js?style=normal"></script>
</div>
If that fails, your going to need to make that change without using inline CSS. It will need to be added to the stylesheet.css file. Just look at the page (where the script is loaded) and look for an ID or a CLASS that you can hook onto.

[module] PayPal Pro w/Recurring Profiles FREE
[module] 1 Click "Amazon Style" Checkout w/PayPal Pro FREE
[module] Adjustable PayPal Pro Fee FREE
[module] Add Sample To Cart LITE FREE
The guide to fixing just about everything wrong with OpenCart FREE!
Add INFINITE SCROLL to your homepage for FREE!
Live update product price for FREE!
Dynamic generation of Opencart coupon, FREE!
Hire me


User avatar
Active Member

Posts

Joined
Sat Mar 30, 2013 12:27 am
Location - Springfield, MA

Post by cart builder » Thu Apr 17, 2014 3:01 am

Hi Taco,

Many thanks for your quick reply. I followed your advice & replaced "STYLES" with the following code:

"position:absolute; margin-left:10px; margin-top:15px">

& it worked! I then proceeded to place the logo in the right column as it looked better, but it dragged half my site to the left ! So after a bit more messing around I realised i'd forgot to put </ul> </div> after the trustwave script, and then it worked out nicely.

So thanks again for saving me so much trouble - you truly are a wizard !

New member

Posts

Joined
Wed May 15, 2013 7:11 pm
Location - England
Who is online

Users browsing this forum: No registered users and 90 guests