Forums / Templates, Stylesheets, Page Layout / Just a Step to the Left....

Just a Step to the Left....

Locked

Views: 467

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
30 Mar 2010, 12:16 PM
#1
mike_dean avatar

mike_dean

Totally Zenned

Join Date:
Feb 2006
Location:
Central Coast, NSW, Australia
Posts:
531
Plugin Contributions:
0

Just a Step to the Left....

http://www.nortsandones.com.au/index.php?main_page=product_info&cPath=47_56&products_id=1581

Ok.. Were done singing Time Warp to the Thread Title..

But it sums up what I want to do.

The section of Text that states, *"The ETA for this Product...." *etc etc etc is currently centered on the page, both under the product info and also the product description. (I copied the code from the tpl_product_info_display.php so I could have it further up the page as well).

But I would prefer if the top entry was a justified to the left, and aligned under the other information, eg Model Name, Qty Avail etc.

I played around in the style sheet, but I could not get it to budge..

Any help would be appreciated..

Norts And Ones
Norts And Ones

30 Mar 2010, 1:23 PM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Just a Step to the Left....

They're both using the same id, so whatever you do to one will happen to the other. If you want to move both to the left,

#productDateAvailable {float:left;}

You could change the id of the code you copied to separate them.

30 Mar 2010, 2:04 PM
#3
gjh42 avatar

gjh42

Black Belt

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

Re: Just a Step to the Left....

Actually, since it's an id, you should change it anyway, since ids are supposed to be unique on any one page.

If you want it to match the product details list, you should move the code right into that section in the file. Place it so that it will execute after the list loop is finished and before the closing </ul> is output, and wrap it in <li> tags.

30 Mar 2010, 7:58 PM
#4
mike_dean avatar

mike_dean

Totally Zenned

Join Date:
Feb 2006
Location:
Central Coast, NSW, Australia
Posts:
531
Plugin Contributions:
0

Re: Just a Step to the Left....

Thanks Guys..

Norts And Ones
Norts And Ones