News:

Support the VirtueMart project and become a member

Main Menu

Products aligned vertically instead of horizontally in VM modules

Started by django29, November 28, 2014, 16:01:41 PM

Previous topic - Next topic

django29

Hi

Once more, in a VM horizontal module (featured products), the products are aligned vertically instead of horizontally.

In the module admin I put 5 products and 5 columns.

I had already this problem months ago, but I don't remember the solution.

Joomla 2.5.11 + VM 2.0.2 (Yes I know, I should upgrade ... when I have time).

django29

Migrated Joomla to 2.5.27 , but the products are still displayed vertically instead of horizontally in the module.

jenkinhill

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

GJC Web Design

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

django29

I looked at the code with firebug, as usual, but I didn't find why this module didn't want to align horizontally the products only on the homepage.

The module is still in vertical on the right, because I can't place it horizontally in maintop position, for ex. :

http://www.landerne-primeurs.com/

Same problem with the pagination of the products.

django29

I'm still fighting with these vertical alignements in the modules and for the pagination.

I can see this problem is very frequent, but the answers I find don't solve my problems...

GJC Web Design

because the div has a class of width33 and you have no width set for this
so of course even in a horizontal layout it will take a 100% width if none is specified!

the class is set in the vm css but your not loading it on the home page - in fact your not loading any vm css anywhere

add

.width33 {
width:33%;
}

or what ever is needed to set the width
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