Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Category info box need some fine tuning


Andrew J

Recommended Posts

Posted

Hi!

 

I installed Category box enchancements 1.1

Plus some little hacks but there is one small thing to solve.

 

My cat. box looks like this currently:

 

current.jpg

 

 

But I'd like to have to looks like this:

 

would%20like%20to%20have.jpg

 

Can anyone help on this?

 

Andrew

Posted

Or I'd like extend the table to avoid text wrap if the category decription gets to long.

Posted

I did it before but dont want to reach a 180-200 px wide column.

 

I forgot to mention upper

Or I'd like extend the table to avoid text wrap if the category decription gets to long.

that I want to extend it dinamically. If I open a subcat and it's going to be longer than the current widht than it should widening the column automatically to avoid line breaks.

Posted

Ok, this is not the perfect solution to your column width issues, but it has worked for me with no repercussions...

 

Create a transparent image that is 1px high and make the width the exact pixel width you want your column to be. Then, call the image right inside the first <td> tag in one of your left column boxes like so: <img src="/catalog/images/imagename.gif">. Save and up. Then preview your site and expand to the longest string of text and fine tune by either making the image shorter or longer. What this does is force the box and the column to fit the image...therefore expanding the box to the width of the image.

 

Hope that helps.

Archived

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

×
×
  • Create New...