News:

Support the VirtueMart project and become a member

Main Menu

I want to show two products in a row in mobile

Started by peaceandlove, February 02, 2021, 07:33:33 AM

Previous topic - Next topic

peaceandlove

See our website http://partswala.byethost6.com/

You can see its shows only 1 product in a row on mobile view, and i want to make it two products per row, I know its can be done using css but i am not able to get the code, can any body help

Just like it shows two products in a row in mobile view

https://d-themes.com/wordpress/molla/demo-1/shop/?layout_type=2

Urgent help is appreciated

GJC Web Design


@media (max-width: 480px) {
div[class*="vm-col-"] {
    width: 49%;
    min-width: unset;
}
}
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

peaceandlove

Thanks a lot GJC, So nice of you

i  am really thankful to you, May ALLAH (GOD) send his blessing to you, so save my day, working on it for many many days,

Any idea, how to make both product in equal length, i know differce is due to tittle lenght but any way both products should be seen as same, i mean outer boxes, currently left one is showing as bit small

GJC Web Design

you have to make the various containers fixed heights at different screen sizes .. high enough for the longest title
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