Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Trying to change width of drop-down box...


Guest

Recommended Posts

...and just am not finding it. I've tried changing the width of the boxes in "boxes", tried changing the width manually in the "manufacturers" file. Nothing seems to be changing the width of that drop-down selector. Can anyone help? I'm sure I'm being stupid here and just overlooking something horribly obvious, but I really am frustrated.

 

Laura

Link to comment
Share on other sites

Did you take a look at the /includes/application_top.php?

 

Look for define('BOX_WIDTH', 125); // how wide the boxes should be in

pixels (default: 125)

 

 

-Al

 

Is this what you needed?

Link to comment
Share on other sites

Just read this again. You want the Select BOx.

 

Look near line 36 in the /includes/boxes/manufacturers.php. It is set to 100% as the default. So that would make it 100% of the box width. (my last post)

 

-Al

Link to comment
Share on other sites

Ordinarily this would be true, but because the box text is controlled by a style, which affects the actual size of the text, you do have a certain amount of leeway.

 

At the default width of 125, at least with my manufacturer names, I had a WHOLE lot of blank space in that dropdown. Now that I've narrowed it down I don't have nearly as much blank space.

 

Laura

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...