Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

spacing images catagorie pages


geor

Recommended Posts

Posted

Can somebody please tell me how control the spacing of the images on the (sub)catagorie pages. I have 8 pictures now that are to fare apart in both horizontal as vertical position.

 

Many thanks in advance for your suggestions

 

Georges

Posted

how are they set? 2 rows of 4, done from the admin? would you like to keep that setting and just move the images closer together?

 

that is done in index.php, the upper section of the page where htlm is being written. set the table width smaller here

 

 

<tr>

<td><table border="0" width="100%" cellspacing="0" cellpadding="2">

<tr>

<td><table border="0" width="100%" cellspacing="0" cellpadding="2">

<tr>

<?php

if (isset($cPath) && strpos('_', $cPath)) {

// check to see if there are deeper categories within the current category

 

and set the vertical spacing by altering the cellpadding above to a value that suits your needs.

:-)

Monika

 

addicted to writing code ... can't get enough of databases either, LOL!

 

my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum

 

Interactive Media Award July 2007 ~ category E-Commerce

my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...

Posted

Can somebody please tell me how control the spacing of the images on the (sub)catagorie pages. I have 8 pictures now that are to fare apart in both horizontal as vertical position.

 

Many thanks in advance for your suggestions

 

Georges

 

 

Monika thanks for your solution I've put theme closer together do you have any idea how I control the offset from the left collum because now I narrowed the space the offset form de left collum also is reduced.

Posted

Monika thanks for your solution I've put theme closer together do you have any idea how I control the offset from the left collum because now I narrowed the space the offset form de left collum also is reduced.

 

 

Second attempt:

 

I've pu the images successfully closer together on de the category page by using Monika's anwser but now also the distance to the left collum is reduced. My second question now: how do I center all the combined images on the catagorie page or give more distance between the images and the left collum.

 

Thank in advance for your responses.

 

Georges

Posted

Hi Georges,

 

you should take a screenshot and mark in photoshop where and how you'd like to have your categories, because I am not sure it is really clear from what you posted.

:-)

Monika

 

addicted to writing code ... can't get enough of databases either, LOL!

 

my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum

 

Interactive Media Award July 2007 ~ category E-Commerce

my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...

Posted

Hi Georges,

 

you should take a screenshot and mark in photoshop where and how you'd like to have your categories, because I am not sure it is really clear from what you posted.

 

Monika, do you have a hotmailadres I'm not allowed to insert images

 

Greetings Georges

Posted

I suggest you upload it to photobucket ... so it's visible in this thread for e/o to help you.

:-)

Monika

 

addicted to writing code ... can't get enough of databases either, LOL!

 

my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum

 

Interactive Media Award July 2007 ~ category E-Commerce

my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...