Re: Product Listing layout config.
Quote:
Originally Posted by
gjh42
Travellers -
Another way to get clearance for the description is to add it to the stylesheet. Giving a margin or padding to the whole product will expand the space occupied and cause layout problems, but margins/padding for internal parts of the product will not do this.
Code:
h3.itemTitle {margin: 0 0.5em;}/*add this if the product names need clearance*/
.listingDescription {margin: 0 0.5em;}
Adjust the 0.5em as desired for horizontal clearance.
This did exactly the job required and has tidied up the index perfectly - I'm extremely grateful, gjh. I didn't do the first bit of your reply though, because I'm afraid I didn't understand what you were saying! As long as I haven't introduced a problem elsewhere that I've not found yet, I'm happy with that, but if I did need to do both parts, I'll have to come back and have another go at following what you were getting at in part A!
Re: Product Listing layout config.
Glad it worked for you. You don't need to edit the PHP file if the stylesheet change does what you need.