VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: NIkcyp on November 30, 2015, 20:34:16 PM

Title: Problem in product number per row
Post by: NIkcyp on November 30, 2015, 20:34:16 PM
Hello there, i use virtuemart 3.0.6 / joomla 3.3.6
I have set in the configuration/templates the default number of products per row to 3;
in the frontend  i get this weird  layout:
a normal row of three products
then a row with a gap of two products and one displayed ok
then a normal row
etc...
have a look:
http://ladyline.com.cy/joomla/index.php/view-all-products/bracelets

if i change the configuration setting to 2 or 4 products per row the problem persists (changes with the order yes but it is still there)
Anyone any ideas please ? Im getting MAD about this flaw
Title: Re: Problem in product number per row
Post by: GJC Web Design on November 30, 2015, 23:37:25 PM
its your templates fault .. not vm

give the div a fixed height so they clear

div.product {
  border: 0 none !important;
  float: left;
  height: 250px;
}
Title: Re: Problem in product number per row
Post by: jenkinhill on November 30, 2015, 23:42:12 PM
And your Joomla & VirtueMart versions are seriously out of date and should be updated.  http://forum.virtuemart.net/index.php?topic=118683.0

Test the updates on a backup copy of the live site first.
Title: Re: Problem in product number per row
Post by: NIkcyp on December 01, 2015, 12:09:02 PM
Sorry to ask but in which file do i find/put this>? :P
I got kinda lost
Title: Re: Problem in product number per row
Post by: GJC Web Design on December 01, 2015, 13:17:04 PM
doesn't matter.. css works anywhere.. in a css file that doesn't get over written -- template css somewhere

add !important and will always work

div.product {
  border: 0 none !important;
  float: left;
  height: 250px !important;
}
Title: Re: Problem in product number per row
Post by: NIkcyp on December 07, 2015, 12:33:18 PM
Thanx so much! ;D