In the DEMO page you have provided. They are not "Custom Field with Stockable Variants" but they are regular "Cart Variant" type custom fields.
Yes, you might right about how it looks with "Custom Field with Stockable Variants", but this is what it is.
In your screenshot,
Size and Options = The title of the custom field.
Size = the title of 1st variable
Color = the title of 2nd variable.
Size and Options = is the description of custom field.
Eveerything looks normal in your screenshot. Because only the title of the custom field gets the grey background. Not the name of the variable. Some people say: We don't need the title of custom field at all, the name of the variations are enough. Which is your case, but some people ask the opposite ;) so in result, we leave as how it is with the original Virtuemart.
If you look here:
www.flexiblewebdesign.com/virtuemart-2-template-puremart/index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=46&virtuemart_category_id=6
This DEMO product uses the "Custom Field with Stockable Variants" type custom field and the layout exactly same as your screenshot.
But you can do this, give it a shot.
Open this CSS file:
ROOT/templates/<yourjoomlatemplate>/html/com_virtuemart/assets/css/flexibleVM2Global.css
And add this CSS rule:
div.product-field.product-field-type-E span.product-fields-title {
display:none;
}
div.product-field.product-field-type-E span.product-field-display {
display: block;
margin-top: -15px;
}
div.product-field.product-field-type-E span.product-field-display div div span {
background: none repeat scroll 0px 0px #EBEBEB;
margin: 5px 0px;
padding: 3px;
text-align: left;
}
div.product-field.product-field-type-E span.product-field-desc {
margin-top:5px;
display:inline-block;
}
div.product-field.product-field-type-E span.product-field-display div div {
width:auto !important;
}
div.product-field.product-field-type-E span.product-field-display div div span {
width:100% !important;
}
These CSS codes, will remove the Custom Field's title and put the Variations names in the grey background boxes.
So;
Instead of this:
Attachment ScreenShot2013-02-21at2.08.43AM.png not found
you will get this:
Attachment ScreenShot2013-02-21at2.08.19AM.png not found
It is always good to do these things with only using CSS. Because modifying PHP files (with no exception) is not good. And custom fields are generated by Virtuemart Core files.
Regards.
Forum Support.