Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Manufacturers Drop Down Menu


Agent_Trig

Recommended Posts

Posted

On the standard Os Commerce template, there is a drop down menu called 'Manufacturers'. I have changed this to 'Furniture Types' and the drop down menu consistes of things like Coffee Tables, Dinings Sets etc.

 

The problem I've got is that the drop down box doesn't seem to be wide enought for the text annd just chops it off (eg - 'Bedroom Furni....).

 

How can I just make the drop down box wider so that it can contain whatever text is in there without chopping it off?

 

Cheers

Posted
On the standard Os Commerce template, there is a drop down menu called 'Manufacturers'. I have changed this to 'Furniture Types' and the drop down menu consistes of things like Coffee Tables, Dinings Sets etc.

 

The problem I've got is that the drop down box doesn't seem to be wide enought for the text annd just chops it off (eg - 'Bedroom Furni....).

 

How can I just make the drop down box wider so that it can contain whatever text is in there without chopping it off?

 

Cheers

 

Anybody? I presuming in a simple code change somewhere in the index file but I can't find it. :blush:

Posted

Look for SELECT in your stylesheet.css file I'd imagine you have a width set in that class, increase it.

Posted
Look for SELECT in your stylesheet.css file I'd imagine you have a width set in that class, increase it.

 

Thanks for that mate.

 

Well, I increased the width and found out that the text within the drop down menu remained 'chopped' off, even though there was plenty of room within the droop down.

It's like there is a limit on the amount of characters each line can hold.

 

Any ideas?

Posted
Thanks for that mate.

 

Well, I increased the width and found out that the text within the drop down menu remained 'chopped' off, even though there was plenty of room within the droop down.

It's like there is a limit on the amount of characters each line can hold.

 

Any ideas?

 

 

tep_draw_pull_down_menu is the function you may want to mess with.

 

Yeah you could go to htmloutput.php and mess with the numbers for size in there - CSS should help you out though in that.

 

 

select {

width:170px;

}

 

 

That's how I do it. I don't remember having a problem with width of the field displaying.

Nothing unreal exists

Posted
tep_draw_pull_down_menu is the function you may want to mess with.

 

Yeah you could go to htmloutput.php and mess with the numbers for size in there - CSS should help you out though in that.

select {

width:170px;

}

That's how I do it. I don't remember having a problem with width of the field displaying.

 

I increased the width to 200px and the text still remained chopped off half way through.

 

Here's a link so that you can see what I mean. It's the drop down menu on the left called Furniture Types:

 

http://www.tifco.co.uk

Posted

Something else is overriding your css - most likely it's because your table size(s) are set to a specific width instead of 100% - I think this is a design problem.

Nothing unreal exists

Posted
Something else is overriding your css - most likely it's because your table size(s) are set to a specific width instead of 100% - I think this is a design problem.

 

Thanks, for your reply.

 

So what do you recommend I do?

Should I go through the CSS file and change all the table sizes to 100%?

 

I could do with getting this done before Easter as its for a customer >_<

Archived

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

×
×
  • Create New...