| Modify add to cart button |
|
Modify Add To Cart Button Question: How do I modify the add to cart button in Virtuemart 1.1.2? Answer: There are two ways to modify the cart. 1) The default image used is add-to-cart_blue.gif, which is located in components > com_virtuemart > themes > default > images. Just open that file in your image editor, modify with in the confines of the preset height width, save in the same format and file name, then upload. 2) Second, you could create new image completely, save in the same folder, then modify the CSS file to reflect the new image name. The themes css file is located at: components > com_virtuemart > themes > default > theme.css The definition you need to change is .addtocart_button. In the same CSS file, you can adjust the width, background color, border, etc. Note: If you do not like the default right alignment of the add to cart button, you can edit the source code in addtocart_drop.tpl.php, which is located in components > com_virtuemart > themes > default > product_details > includes. |
I changed my image in the same directory with the same name. ''add-to-cart_blue.gif''
and it works on local. But not on the production. I cannot understand what should I change in the theme.css . Already I gave the same name , right?
I'm new with the web things, sorry for bothering.
RESPONSE: Did you remember to UPLOAD the NEW version of the image? If so, could be a CACHE issue with your browser. Delete history, start browser again and see.
From Serr.biz:
IF you need a little help, check out our paid Joomla help services.