![]() |
Product price align
Just finishing of the template for our store when I noticed a slight align problem on the product page.
Its only a minor problem although but id like it fixed. Below is a link to a product on the site, ive moved the image above the text as we use large images and it didnt look right with the normal xcart layout. if you look at the price its aligned to the center and no matter what ive tried nothing works. any suggestions? http://chaddesdenanglingcentre.co.uk/store/product.php?productid=143&cat=3&page=1 |
Hey there, if you posted your product.tpl code I would take a look and see if I could help you.
|
would be an idea would'nt it :lol: :lol:
here you go, much appreciated Code:
{* $Id: product.tpl,v 1.96.2.25 2005/11/17 11:40:11 max Exp $ *} |
Sorry to do a bump but dropped down quite far without reply :oops:
|
Hey there, I'm sorry I didn't get back to you like I said I would, I completely forgot. :oops:
Ok, I checked out the code and here are a few things to try. This is the code I think you want to play with, its the cell that holds the 16.99. Code:
<TD valign="top"> I would first try changing the first line <TD valign="top"> to <TD valign="top" align="left"> If that doesn't work try adding class="ProductPriceConverting to that same line instead of the align tag. Then open your skin1.css file and find the line that says .ProductPriceConverting and add, text-align: left;. If that doesn't work we'll go farther, it can be hard to find small issues like this but if you keep going it will show up. |
me again, I was looking at your code harder and I don't think it was a centering problem, I re-did how the page was laid out, just copy this code and see how it looks, I have no way to test it as I'm running 4.1
You may have to change how wide the column is for price, option and quanity, they all have to be the same in order to see the difference on the screen that was the orginal problem, some were set to 30% and a few tables were layed out wrong. I set the width to 125px, you will see 125 4 times in the TD tag's, change them all the the width you want on screen. I think it will be close but hard to tell without posting it and playing. Let me know how you make out. Code:
{* $Id: product.tpl,v 1.96.2.25 2005/11/17 11:40:11 max Exp $ *} |
Strange, in IE it sends the price even further to the right of the page.
Firefox works perfect pulls it next to the left how I wanted it too. :? |
ahh, that stinks. :) I know I could fix the problem but without trying it myself we could be here a long time. I'm guessing your site it live as the changes aren't there for me to see. I don't think I can do much without access to your files, I think a lot of the formating code has to be moved to the CSS page to be more compatible, there's obviously a tag there IE doesn't like. If you want me to continue to help I suggest creating a temporary account to your FTP access so I can log in and change the files. If you want you can PM me the info.
Wish there was another way. |
All times are GMT -8. The time now is 11:28 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.