If this is your first visit, check our documentation. To post, register or login.
Forums / Templates, Stylesheets, Page Layout / Editing the product-listing. Trying to get the price next to the buy now button

Editing the product-listing. Trying to get the price next to the buy now button

Locked

Started by andersw on 27 Feb 2009, 6:36 PM · Views: 1,247

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
27 Feb 2009, 6:36 PM
#1
andersw avatar

andersw

New Zenner

Join Date:
Dec 2008
Posts:
22
Plugin Contributions:
0

Editing the product-listing. Trying to get the price next to the buy now button

Hi, I've searched the forum but didn't find much.

I am trying to place the price next to the buy now button at the product listing. I successfully edited the product_listing.php file but my problem is that the buttons don't align because the number of digits of the price is different.

Do anyone have a solution to this?

27 Feb 2009, 7:50 PM
#2
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Re: Editing the product-listing. Trying to get the price next to the buy now button

You say you "successfully edited the product_listing.php"... so what do you have now? We need to see this live to give accurate advice.

27 Feb 2009, 9:28 PM
#3
andersw avatar

andersw

New Zenner

Join Date:
Dec 2008
Posts:
22
Plugin Contributions:
0

Re: Editing the product-listing. Trying to get the price next to the buy now button

28 Feb 2009, 5:02 PM
#4
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Re: Editing the product-listing. Trying to get the price next to the buy now button

What you will need to do is give the price output a fixed width (greater than any actual price will require); then the button will stay in one spot.
We need to see the site live, not a screenshot, to tell you what class/element to add the width to.

Or you could use a layout table as you did for your site, which I just located.