News:

Support the VirtueMart project and become a member

Main Menu

Where the "addtocart-button" Class?

Started by Marga123, May 08, 2013, 16:22:49 PM

Previous topic - Next topic

Marga123

Hi
I'm making a custom reposive  product page layout

I want to change the class "addtocart-button"

I found it using firebug

Quote<input type="submit" name="addtocart" class="addtocart-button" value="Add to Cart" title="Add to Cart">

I've looked in default_addtocart.php
but it's not there

Does anyone know where I can find it please?

many Thanks for your help




syntalk

Hi,

You didn't specify what VM version you use but I take it's at least 2.0.18...
I'm not the speshitpillt but check in your template's CSS files in \templates\template_name\css\ orelse \components\com_virtuemart\assets\css\vmsite-ltr.css - now if you edit this one, it will be overwritten on the VM update as far as I know. In this case would be better to create such class in your template css.
Firebug should also tell you what file is it ( on the right bottom corner under the "style" tab).
Hope it will help.