简体   繁体   中英

spacing virtuemart cart

Im having problems spacing out my virtuemart cart.

I was hoping someone could have a look and see what my problem could be. I know this is a very broud question but I dont know where else to turn to.

As you can see nothing is really lined up.

https://colman.net.nz/colmannew/index.php?option=com_virtuemart&page=shop.cart&product_id=2&Itemid=20

You might need to add to cart and all that to actually view the shopping cart.

Any references, or help would be amazing.

Thanks, Callum

I'm answering this off what is quite a broad question, so if it's not what you're after let me know and I'll try and answer better.

Try doing the following 2 edits, I did them using firebug and it improved the appearance of your cart dramatically:

https://colman.net.nz/colmannew/components/com_virtuemart/themes/default/templates/onepage/icetheme_twocolumn/onepage.css - This file near line 55 change the following:

width: 90%;

to:

width: 20%;

This accompanied with giving your table TD elements the following:

valign="middle"

and

style="padding:5px 0;"

This is obviously using inline-styles as I don't wish to dictate as to where you put your CSS though in a .css file is recommended for these styles.

Hope this helps.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM