News:

Looking for documentation? Take a look on our wiki

Main Menu

Center Add to Cart Button

Started by magtaf, December 07, 2012, 05:37:30 AM

Previous topic - Next topic

magtaf

Hi Everyone, I am using VM2 and I want to center the add to cart button.

As you can see in the attached image its more to the right.


I would like to leave in the same place but centered like the red illustration box.


[attachment cleanup by admin]

bytelord

Hello,

First you forgot to mention your joomla and vm2 version. You could use some CSS to override the deafault css of vm2 and your joomla template css also. The change location of the cart button the best is to create a template override for the category view and change the order inside the code ...

Searching the forum under Templating and Layouts you will find tons of information how to create overrides or adjust your css...

Use firebug to examine you site code and css styling: https://forum.virtuemart.net/index.php?topic=102850.0

Template Overrides:
Creating Template overrides: https://forum.virtuemart.net/index.php?topic=98505.0
Template System: https://dev.virtuemart.net/projects/virtuemart/wiki/Hints_for_the_use_of_the_template_system

Regards
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!