Forums / Templates, Stylesheets, Page Layout / Can move Paypa; button up and down but how about right to left?

Can move Paypa; button up and down but how about right to left?

Locked

Views: 1,087

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
30 Jul 2009, 7:54 PM
#1
plsony avatar

plsony

New Zenner

Join Date:
Jul 2009
Posts:
54
Plugin Contributions:
0

Can move Paypa; button up and down but how about right to left?

Thanks,

I can move the Paypal button on tpl_shopping_cart_default.php up and down by copy and paste the module where I want it on the shopping cart page but I cannot figure out how to move if from right to left. Can any help or provide hints?

31 Jul 2009, 9:06 PM
#2
niccol avatar

niccol

Totally Zenned

Join Date:
Apr 2009
Posts:
2,138
Plugin Contributions:
1

Re: Can move Paypa; button up and down but how about right to left?

Yeah, you can do this with the stylesheet. If you are talking about the button that I think you are talking about then you can add this to the bottom of your stylesheet:

#PPECbutton{margin-left:130px}

Adjust the 130px to whatever you want.

If you want it to sit on the right hand side you could add:

#PPECbutton{float:right;}

Nick
iszent.com

1 Aug 2009, 5:31 AM
#3
plsony avatar

plsony

New Zenner

Join Date:
Jul 2009
Posts:
54
Plugin Contributions:
0

Re: Can move Paypa; button up and down but how about right to left?

Thanks,
Thats great!

How did you know to call it #PPECbutton?

I assume I can tweal the google checkout and amazon checkout buttons if I know what to call them

1 Aug 2009, 7:52 AM
#4
niccol avatar

niccol

Totally Zenned

Join Date:
Apr 2009
Posts:
2,138
Plugin Contributions:
1

Re: Can move Paypa; button up and down but how about right to left?

To find the correct name either:

  1. Look in the source code. In firefox this is VIEW>>>PAGE SOURCE or CTRL U. In internet explorer it is VIEW>>>SOURCE.

In this case you are looking for:

<div id="PPECbutton" class="buttonRow">
  1. Use Firefox and install an add-on called web developer toolbar. This allows you to hover over an element and it will tell you its ID and class. Among other useful functions. This toolbar is a must-have.

Nick
iszent.com

1 Aug 2009, 7:53 PM
#5
plsony avatar

plsony

New Zenner

Join Date:
Jul 2009
Posts:
54
Plugin Contributions:
0

Re: Can move Paypa; button up and down but how about right to left?

Thanks,

Adjusting the Paypal button for the shopping cart page causes the Paypal button on the login page to move to a different position under the login box.

How can I move the logos on one page but keep them where they were on another page?

1 Aug 2009, 8:07 PM
#6
niccol avatar

niccol

Totally Zenned

Join Date:
Apr 2009
Posts:
2,138
Plugin Contributions:
1

Re: Can move Paypa; button up and down but how about right to left?

OOOOPS. Lets make it a bit more specific:

#shoppingcartBody #PPECbutton{margin-left:130px}

will only effect the #PPECbutton that is inside #shoppingcartBody.

Nick
iszent.com