PDA

View Full Version : font of drop down list


cordelia
05-Mar-2003, 08:29 AM
can anyone help please?

I'm using a drop down list of attributes but can't find out where to change the font and size of the contents of the drop down list - I can change everything else but the list which is stuck in the original font

Thanks a lot

TraceyG
20-Mar-2003, 10:46 AM
For the changes to display in Internet Explorer you must be using a style sheet theme.

1. Go to 'Advanced' menu and select 'Template Manager'
2. Select the 'Product Variants' tab.
3. Selct 'Drop Down List' | Header to open Act_VariantListHeader.html
4. Replace
<SELECT NAME="NETQUOTEVAR:ATTRIBUTEREF">

with

<SELECT CLASS="stylename" NAME="NETQUOTEVAR:ATTRIBUTEREF">

Use any css class defined in actinic.css this way.

If the theme doesn't use css, simply put <FONT> tags around the <SELECT>, the opening tag in Act_VariantListHeader.html and the closing tag in Act_VariantListFooter.html. However, the changes done this way will only display in Netscape Navigator browsers.

cordelia
20-Mar-2003, 04:25 PM
Thanks Tracey for your reply... can I just confirm that actinic.css is part of Version 4? I can't find it on my version

thanks again
cordelia

Mike Hughes
20-Mar-2003, 06:49 PM
You don't have to use a CSS stylesheet. You can just declare the style in the select statement.

Mike

TraceyG
24-Mar-2003, 02:37 PM
Hi Cordelia,

Sorry, my mistake, version 4 does not include style sheet themes. However, Mike is right and you can define the style within the SELECT tags. I did the following in Act_VariantHeader.html to try it out:

<SELECT STYLE="font-size:x-large; color:red" NAME="NETQUOTEVAR:ATTRIBUTEREF">

This gives a drop-down list with a large font and red colour.

I hope this helps.

cordelia
24-Mar-2003, 07:07 PM
Works like a dream.... thanks for your help!