Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Product Option Dropdown Menu Width

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 04-12-2011, 03:37 PM
 
vtscomputers vtscomputers is offline
 

Newbie
  
Join Date: Oct 2010
Posts: 8
 

Default Product Option Dropdown Menu Width

I have searched for this on the forums and haven't found what I'm looking for. Maybe I'm just searching the wrong keywords...

What I'm looking to do, is define the width of the dropdown boxes for product options so that they are all uniform in width.

As I'm sure you all know already, the boxes stretch to fit the longest string of text. We have upwards of 15-20 options on many of our products with options of varying text length.

This leaves a random zigzag look on the right side of the page body that is very unprofessional looking. Is there an easy way to just maximize the box width to stretch itself to the page body? I would really prefer not to try filling the options up with the spacebar.

Any help would be much appreciated. Thank you.
__________________
X-Cart Gold 4.6.6 (In dev)
Reply With Quote
  #2  
Old 04-12-2011, 05:52 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: Product Option Dropdown Menu Width

You can do it by applying css style with "width: 200px" or whatever fits you but I don;t think there will be a way to find out first how long the longest will be so to setup width as that
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 09:49 PM.

   

 
X-Cart forums © 2001-2020