VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: jantabak on August 02, 2016, 08:10:46 AM

Title: How to get more width on product-custom-fields ?
Post by: jantabak on August 02, 2016, 08:10:46 AM
I try to get some more width on the display of product custom fields. On a trial & error way I made overrides for vm-ltr-site.css and sublayouts/products_horizon.php. I can't find where to modify any style or PHP-code to get some more width on the selectbox dropdown. I added an image of the issue as attachment, the yellow background color is just for testing and point me in the right direction.
Can anyone give me a hint on what file and css-tag I can create some more width at this point?

Title: Re: How to get more width on product-custom-fields ?
Post by: GJC Web Design on August 02, 2016, 15:51:49 PM
live url?
Title: Re: How to get more width on product-custom-fields ?
Post by: GJC Web Design on August 02, 2016, 21:44:18 PM
prob easier to uncheck "Use jQuery chosen for dropdowns in FE" on vm config->config->templates

if not something like

.product-field-display .chzn-container, .product-field-display .chzn-drop {
  width: 200px !important;
}
.product-field-display .chzn-drop li {
display.block !important;
}

Title: Re: How to get more width on product-custom-fields ?
Post by: jantabak on August 02, 2016, 22:25:51 PM
Wow, that's it?
I switched off jQuery in VM-config and it's just like I mentioned....
Thank you and best regards!
Jan