News:

Support the VirtueMart project and become a member

Main Menu

Replace "trash can" and "refresh" icons in VM3

Started by frisco75, May 20, 2015, 14:56:46 PM

Previous topic - Next topic

frisco75

Hi,
I want to replace the old-fashioned "trash can" and "refresh quantity cart"" icons in VM3. So i replaced  "remove_from_cart.png" and "update_quantity_cart.png" in components/com_virtuemart/assets/images/vmgeneral but it didn't change nothing ! I had empty all the existing caches but those horribles blue icons stayed on the screen !!
Some help, please ?
Thaaaaaanks !
François
VM 3.0.6.4 and Joomla 3.4.1

jenkinhill

The default VM templates use a sprite image.    components/com_virtuemart/assets/images/vm2-sprite.png  so either edit the sprite or code to use a separate image.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

frisco75

I modified the sprite and it's perfect  :)
Thanks a lot, Kelvyn !
VM 3.0.6.4 and Joomla 3.4.1

AH

Note that the sprite will get overwritten on update of VM
Regards
A

Joomla 4.4.5
php 8.1