VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: Marga123 on May 08, 2013, 16:22:49 PM

Title: Where the "addtocart-button" Class?
Post by: Marga123 on May 08, 2013, 16:22:49 PM
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



Title: Re: Where the "addtocart-button" Class?
Post by: syntalk on May 08, 2013, 16:43:42 PM
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.