Move image on product description
Posted 04 July 2012 - 01:53 PM
Posted 04 July 2012 - 02:38 PM
Posted 04 July 2012 - 03:28 PM
Here's a default page the image is far to the right. http://demo.oscommerce.com/product_info.php?products_id=26
Posted 04 July 2012 - 03:33 PM
You need to adjust following numbers in file catalog/product_info.php
maxwidth: 300, maxheight: 200, thumbwidth: <?php echo (($pi_counter > 1) ? '65' : '0'); ?>, thumbcontainer: 300,
Take care not to have the thumbcontainer wider as the image and you could have same maxwidth and maxheight = square, but this depend on your images
Posted 04 July 2012 - 03:52 PM
So where i have to look?
Also, to not start new topic in my shopping cart prices of products are a bit more high than the line of letters of products.
Can we do something?
Appreciate your help.
Posted 04 July 2012 - 04:04 PM
if you edit that file you can for instance add
This will add 10px margin to the left of the image container, search google for some css tutorials. As multimixer said you can also edit the product_info.php page to adjust the image box.
Posted 04 July 2012 - 04:17 PM
That worked but i can't understand in mozilla is correct, tha in chrome is like i have it aligned left.
Take a look please in both.
Posted 04 July 2012 - 04:26 PM
<div> <h1 style="float: right;"><?php echo $products_price; ?></h1> <h1><?php echo $products_name; ?></h1> </div>
<div style="overflow:hidden;"> <h1 style="float: right;"><?php echo $products_price; ?></h1> <h1><?php echo $products_name; ?></h1> </div>
Also, in same file set your thumbcontainer width same as the image (=200) now you have it at 150
Posted 04 July 2012 - 04:36 PM
Now i set everything to 150.
It's ok now, with a little differnce from chrome to mozilla. The only align problem now i think is the prices in shopping cart are high instead of the same line. Can you help me please because i think it's serious?
Posted 04 July 2012 - 04:59 PM
Posted 04 July 2012 - 05:11 PM
What changes/who do you refer to?
Those changes have nothing to do with any html in your products description, but you are free of course to undo them, if you think it will help
EDIT: Yes, I can see the "bad request", this is connected to the editor you use to enter the descriptions
Edited by multimixer, 04 July 2012 - 05:13 PM.