My Sellerdeck Account | Free Trial

Sellerdeck Community & Knowledge Base

  #1  
Old 29-Nov-2007, 11:30 AM
kathynewman's Avatar
kathynewman kathynewman is offline
Developers
Join Date: Dec 2002
Full Name: Kathy Newman
Posts: 940
Thanks: 3
Thanked 1 Time in 1 Post
Controlling Drop Down Lists

Is there anyway I can re-size the drop down lists for choices so that the size of the box is always consistent, regardless of the length of the choice (obviously making sure that the box is bigger than the longest possible choice). I am putting all choice drop down boxes one underneath each other in the product layout and it would look neater if they were all the same size.

Also can't find where the font for choices in dropdowns is defined - can anyone point me in the right direction?

Thanks

Kathy
__________________
Kathy Newman
Reply With Quote
  #2  
Old 29-Nov-2007, 11:39 AM
NormanRouxel's Avatar
NormanRouxel NormanRouxel is online now
Registered User
Join Date: Dec 2002
Full Name: Norman Rouxel
Posts: 10,814
Thanks: 9
Thanked 767 Times in 639 Posts
Go to Design / Library / Layouts / Choice Lists / Drop Down Choice List and click to edit the list layout settings. Look in Start Of List and you'll see
Code:
<select name="<Actinic:Variable Name="UIWidgetName"/>" class="form_input_general">
Add additional style there or copy definition form_input_general in the Actinic Stylesheet and amend.

A font definition there will work for the Choices.

E.g. the clunky way
Code:
<select style="width:100px;font-family:courier;" name="<Actinic:Variable Name="UIWidgetName"/>" class="form_input_general">
__________________
Norman - www.drillpine.biz
Edinburgh, U K / Bitez, Turkey
Reply With Quote
  #3  
Old 29-Nov-2007, 12:20 PM
kathynewman's Avatar
kathynewman kathynewman is offline
Developers
Join Date: Dec 2002
Full Name: Kathy Newman
Posts: 940
Thanks: 3
Thanked 1 Time in 1 Post
Norman you are a star - thanks that worked perfectly.

Kathy
__________________
Kathy Newman
Reply With Quote
  #4  
Old 28-Jan-2016, 09:09 PM
newshopbloke newshopbloke is offline
Registered User
Join Date: Feb 2004
Full Name: bloke
Posts: 572
Thanks: 3
Thanked 5 Times in 4 Posts
I will second that, Norman you are a star !
This has helped me to increase the tiny font size in drop down choice.

If anyone wants to use this code with later versions of sellerdeck with dynamic pricing you may have to remove:

name="v_2_1" off the end of the code, because it makes the code confused with 2 'names' I think.


Michael
__________________
Kind regards,

Michael

www.stageprint.co.uk
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT. The time now is 04:40 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.