I have added some custom field plugins with stock control following this guide: http://www.flexiblewebdesign.com/blog/virtuemart-tutorial-product-custom-fields-with-stock-control-with-screenshots/ and everything is fine until you view the cart. Some of the product names are quite long and the dropdown is locked at 100px using this inline code/css:
<select style="width:100px !important;" class="attribute_list customfield_id_8" name="customPlugin[8][stockable][selectoptions1]" id="selectoptions1">
I have tried looking at all of the source files to find where the !important is added to remove it so I can set it in my template's CSS but can't find it. Does anyone know where this is set so I can change it? Or is there a way to override it? Everything I've tried won't work, I even read article's explaining !important, it's priority levels, and how to override it with specificity and selectors. Nothing works (I presume because it's inline it ignores any other cascades). Any ideas would be greatly appreciated. I've tweaked everything else to work with my template but this is making me insane trying to figure it out.
[attachment cleanup by admin]
Hello,
Take a look over here: http://forum.virtuemart.net/index.php?topic=110190.msg369321#msg369321
Quote from: bytelord on November 20, 2012, 13:56:04 PM
Hello,
Take a look over here: http://forum.virtuemart.net/index.php?topic=110190.msg369321#msg369321
Thank you for pointing me in the right direction. I must not have searched well enough before posting.
You are welcome, just post it and find your question also and point out ... :)
Regards