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.
Stumped - Swatch option name font, color
- jmestep
- AbleCommerce Angel
- Posts: 8164
- Joined: Sun Feb 29, 2004 8:04 pm
- Location: Dayton, OH
- Contact:
Re: Stumped - Swatch option name font, color
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>"));
// 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>"));
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Re: Stumped - Swatch option name font, color
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\">"));