| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Product price align | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() 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 |
|||||||
#2
|
|||||||
|
|||||||
![]() Hey there, if you posted your product.tpl code I would take a look and see if I could help you.
__________________
x-cart 4.1.6 PHP 4.4.2 MySQL server 4.0.26-log MySQL client 5.0.20 Operation system FreeBSD Perl 5.008008 |
|||||||
#3
|
|||||||
|
|||||||
![]() would be an idea would'nt it
![]() ![]() here you go, much appreciated Code:
|
|||||||
#4
|
|||||||
|
|||||||
![]() Sorry to do a bump but dropped down quite far without reply
![]() |
|||||||
#5
|
|||||||
|
|||||||
![]() Hey there, I'm sorry I didn't get back to you like I said I would, I completely forgot.
![]() 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:
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.
__________________
x-cart 4.1.6 PHP 4.4.2 MySQL server 4.0.26-log MySQL client 5.0.20 Operation system FreeBSD Perl 5.008008 |
|||||||
#6
|
|||||||
|
|||||||
![]() 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:
__________________
x-cart 4.1.6 PHP 4.4.2 MySQL server 4.0.26-log MySQL client 5.0.20 Operation system FreeBSD Perl 5.008008 |
|||||||
#7
|
|||||||
|
|||||||
![]() 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. ![]() |
|||||||
#8
|
|||||||
|
|||||||
![]() ahh, that stinks.
![]() Wish there was another way.
__________________
x-cart 4.1.6 PHP 4.4.2 MySQL server 4.0.26-log MySQL client 5.0.20 Operation system FreeBSD Perl 5.008008 |
|||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|