HomeHome Product Discus... Product Discus...SmithCartSmithCartProduct Variants Style in ProductDetails.ascxProduct Variants Style in ProductDetails.ascx
Previous
 
Next
New Post
8/13/2010 10:19 AM
 

Where is the product variants section located in the ProductDetails.ascx page? I cannot find this anywhere in the code. I need to control the product variant style or table so the variant options do not wrap. I have already made it so the variant lable does not wrap but need the variant options to not wrap.

 
New Post
8/13/2010 10:52 AM
 

Variants get created in the "tbMain" table. They are dynamically added from the database and the table rows and cells are created in server side code so you wont be able to adjust those. We can add a "nowrap" tag on the labels is that what you were looking for?

-Scott


Scott Kelly
Project Manager
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
8/17/2010 6:58 AM
 

Yes, that may work. Where would I find that in te code or is it in the module.css?

 
New Post
8/17/2010 10:34 AM
 

In the module.css there is a class titled "VariantLabel" that you can add the nowrap tag to that should stop the wrapping.

-Scott


Scott Kelly
Project Manager
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
8/23/2010 7:19 PM
 

In cart v3.4 we updated the variantlabel class in module.css to prevent the label from wrapping as follows:

.VariantLabel
{
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
color:#000000;
white-space: nowrap;

}


At your service,
Dave Smith
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCartProduct Variants Style in ProductDetails.ascxProduct Variants Style in ProductDetails.ascx