Page 1 of 1
Stumped - Swatch option name font, color
Posted: Fri Apr 03, 2009 12:59 pm
by William M
I've found just about everything else... just can't find this. I'd like to change the color and beef it up a bit.
So... is it in a CSS or ?
Thanks in advance.
Re: Stumped - Swatch option name font, color
Posted: Fri Apr 03, 2009 1:54 pm
by jmestep
You will probably need to add a style to the option name in the App_Code/ProductHelper.cs
// CREATE A LABEL FOR THE ATTRIBUTE
phOptions.Controls.Add(new LiteralControl("<tr><th class=\"rowHeader\"" + (option.ShowThumbnails ? " valign=\"top\"" : string.Empty) + "><add span style here>" + option.Name + ":</th>"));
Re: Stumped - Swatch option name font, color
Posted: Mon Apr 06, 2009 4:27 pm
by JimFriend
Judy, thanks for the start on this one. In order to adjust the style on the actual Options that the customer selects I needed to add a custom class to the TD right below the line you referenced. Here's what I ended up with:
Code: Select all
phOptions.Controls.Add(new LiteralControl("<td align=\"left\" class=\"OptionsSelected\">"));