VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: hazael on April 25, 2018, 12:01:11 PM

Title: [VM 3.2.14] [max OS] [low prioryty] Bug in chosen.css
Post by: hazael on April 25, 2018, 12:01:11 PM
In /components/com_virtuemart/assets/css/chosen.css

line 419:
background-image: url('chosen-sprite@2x.png') !important;

Such file does not exist in VM directory.

Just change to:
https://cdnjs.cloudflare.com/ajax/libs/chosen/1.8.5/chosen-sprite@2x.png
Title: Re: [VM 3.2.14] [max OS] [low prioryty] Bug in chosen.css
Post by: StefanSTS on April 27, 2018, 08:06:37 AM
Hi hazael,

thanks for reporting that.
I'll forward that, the PNG will probably be added to the assets folder where the 1x file is already present.

I would advise against using a CDN for these small things, depending on external sources is not always desirable.

Regards
Stefan
Title: Re: [VM 3.2.14] [max OS] [low prioryty] Bug in chosen.css
Post by: Mister Paul on June 05, 2020, 19:13:29 PM
Hi,
in VirtueMart 3.4.2 the file is there now, but it's still not working...
I had to modify the .css file as hazael advised (and modified the background-image url with https://cdnjs.cloudflare.com/ajax/libs/chosen/1.8.5/chosen-sprite@2x.png)

Thank you all