News:

Support the VirtueMart project and become a member

Main Menu

"Add to Cart" styling problem

Started by ahtaylor1, October 11, 2013, 21:08:22 PM

Previous topic - Next topic

ahtaylor1

Joomla 2.5.14
Virtuemart 2.0.24

Can anyone give me a clue as to where the styling for the Add to Cart button could be?

I have looked through my template code and the css code and cannot locate it.    I presume It is defined by the template css and not in VM?

I just want to change the colour to match my template.

I have used firebug to look at the template and the css. 

I have located the following code but i'm not sure what to do to change the colour of the "add to Cart" box - Do I need to search the css for the div class "addtocart-area"

<div class="addtocart-area">
<form class="product js-recalculate" action="/test/index.php/artists-vm-new-menu-item" method="post">
<input type="hidden" value="1" name="quantity">
<div class="addtocart-bar">
<input type="hidden" value="com_virtuemart" name="option">
</form>
<div class="clear"></div>
</div>

Sorry if seems a silly and basic question but we all have to learn!

jenkinhill

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

ahtaylor1

Thanks Jenkinhill - all sorted now and looking great - learned something new as well!