Welcome, Guest
Username: Password: Remember me
Use this Category for your support questions about Virtuemart Template - CleanMart (SKU# FLEX-00015)

TOPIC: arrangement Featured Products/Latest Products/Top

arrangement Featured Products/Latest Products/Top 9 years 1 week ago #12279

I have problem with arrangement of columns in Featured Products / Latest Products / Top 10
In virtuemart I have setting for colums: 4

Here is link:
www.mktek.sk/sortiment/

Can you any idea how can I resolved it, please ?

Joomla 3.4.0, VirtueMart 3.0.6.2, CleanMart 3.2
The topic has been locked.

arrangement Featured Products/Latest Products/Top 9 years 6 days ago #12300

Hi,

That's a silly coding mistake that we made.
The solution is very easy.

Open this PHP file:
/templates/YOUR_TEMPLATE/html/com_virtuemart/sublayouts/products-frontpage.php

find this line:
<?php if ($i != 1 && $products_per_row % $i == 0) echo '<div class="clearfix"></div> '; ?> 

and replace it with this:
<?php if ($i != 1 && $i % $products_per_row == 0) echo '<div class="clearfix"></div> '; ?> 

The problem will be solved.

Regards.
Last Edit: 9 years 6 days ago by Support.
The topic has been locked.

arrangement Featured Products/Latest Products/Top 9 years 6 days ago #12302

Problem was solved !

Thanks !
The topic has been locked.

arrangement Featured Products/Latest Products/Top 9 years 6 days ago #12312

Sure, your welcome.

case solved. topic is closed.

regards.
The topic has been locked.
Time to create page: 0.136 seconds

MaterialMart

for Virtuemart 3

Google's Material Design has finally arrived to Virtuemart

Virtumart Template - MaterialMart Virtumart Template - CleanMart Virtumart Template - CleanMart Virtumart Template - CleanMart

Fully responsive!

Buy Now   |   Live Demo