News:

Looking for documentation? Take a look on our wiki

Main Menu

How to style the static cart on each page?

Started by mona14, February 09, 2013, 03:21:40 AM

Previous topic - Next topic

mona14

Hi there,
New to VM, and am integrating into a Joomla site.  I would really like to make the cart that appears on each page look something like this:



Using VM2 and Joomla 2.5.6.

Development site is here: http://www.yourbusybee.com/rmsbeta

Basically, the idea is to keep the cart from changing in height as items are added. I'd like to keep the site decently tight from top-to-bottom.

What do I need to do in order to set the cart up like this, and is there a way to do it in such a way that I'm not changing core files that are likely to get changed when an upgrade comes out?

Thanks in advance.

**SPAM links alert**s-Mekong delta tours-Dragon pearl junk

jenkinhill

The minicart layout is defined by the template  joomla_root/modules/mod_virtuemart_cart/tmpl/default.php

You can make a copy of that file and edit it edit to suit your requirememnts, then use it as an override so it does not get overwritten during upgrades. See http://www.ostraining.com/blog/joomla/overrides  and  http://dev.virtuemart.net/projects/virtuemart/wiki/Hints_for_the_use_of_the_template_system

Any css changes you make should be added to your Joomla template css file, or you can make an additional style sheet and make a link to it in your Joomla template index.php
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