New Zenner
- Join Date:
- Jan 2011
- Posts:
- 44
- Plugin Contributions:
- 0
Additional images spacing
Hi all,
I've been busy getting my site up and running and it's all live, however I never managed to solve a problem I'm having with the additional images.
I have zen light-box installed.
And I've had to change the following code to stop my images spreading about over the page.
if ($num_images < IMAGES_AUTO_ADDED || IMAGES_AUTO_ADDED == 0 ) {
$col_width = floor(36/$num_images); // Changed to reduce width between Additional images on products page
} else {
$col_width = floor(36/IMAGES_AUTO_ADDED);
}
This is inconsistent between additional images. and ideally I'd like to not have to touch this code and just use CSS to align all my additional images to the left and just add some padding, but nothing I do to the CSS seems to have any affect on the additional images!
Please help, about to start going grey over this.
I'm going to mess up my domain so hopefully it doesn't get indexed.
B
Site:h**p://www. ristolfashion.co.uk
Example of images too close:
B
Site:h**p://www. ristolfashion.co.uk/index.php?main_page=product_info&cPath=6&products_id=9
Example of erratic spacing:
B
Site:h**p://www. ristolfashion.co.uk/index.php?main_page=product_info&cPath=1&products_id=36
Any help is appreciated. Thanks in Advance.
Logicalstep