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.
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
Yes, that may work. Where would I find that in te code or is it in the module.css?
In the module.css there is a class titled "VariantLabel" that you can add the nowrap tag to that should stop the wrapping.
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; }