News:

Looking for documentation? Take a look on our wiki

Main Menu

VM Shopping cart module "container" css error

Started by RFCdesign, November 24, 2014, 21:09:27 PM

Previous topic - Next topic

RFCdesign

HI, In VM shopping module the "container" css around the items is extending outside of my website's border. How do I fix it?
Please refer to the two images attached.


Thank you

GJC Web Design

It probably wasn't the best idea to use the class .container as this is now the std. surround class for bootstrap.
It has though been this for a long time and is part of the JS for the cart ajax

You just need to target
.vmcartModule .container {

}

and over ride the current css to position/render it correctly
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

RFCdesign

Thank you! but where do I add this code into? Let's say I want it to be 100% width...

.vmcartModule .container {
width: 100%;
}

GJC Web Design

In any css file that is called for your VM pages - that is the beauty of css
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation