VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: Armanshah on May 28, 2014, 21:45:30 PM

Title: Fixed size (height) for product boxes.
Post by: Armanshah on May 28, 2014, 21:45:30 PM
Please help to get rid if these empty spaces!

(http://s18.postimg.org/728sf5fy1/Untitled_2.jpg)

It's strange, but I can't find a solution anywhere!

How to make the product box heights fix size?

For example I need ALL boxes 318 px fixed height.

If there is a solution anywhere, please give a link, don't send to search. Or, please, tell what to add and in what file.

Joomla 2.5.20

Virtuemart 2.0.26d


Thanks in advance.
Title: Re: Fixed size (height) for product boxes.
Post by: jenkinhill on May 28, 2014, 23:13:36 PM
That is obviously a commercial template so you should ask the template developer about this. http://forum.virtuemart.net/index.php?topic=108212.0

You could mabe solve it yourself by using Firebug. http://forum.virtuemart.net/index.php?topic=116620.0
Title: Re: Fixed size (height) for product boxes.
Post by: Armanshah on May 29, 2014, 14:00:13 PM
Firebug doesn't help!

The easiest way is to send to Firebug or to Search.

Isn't there any standard solution? Can't believe that this aspect is not important to anyone. Tons of search don't give a result.

Can anyone help, please?
Title: Re: Fixed size (height) for product boxes.
Post by: skhn123 on May 29, 2014, 15:20:16 PM
add some style for product div's in your css,
put some min-height there.

regards :)
Title: Re: Fixed size (height) for product boxes.
Post by: Armanshah on May 30, 2014, 11:54:48 AM
So that's all help here?
No one uses fixed size for product boxes???
Title: Re: Fixed size (height) for product boxes.
Post by: GJC Web Design on May 30, 2014, 12:02:58 PM
the problem is in YOUR TEMPLATE!!!!!    skhn123  has already answered you with the solution!

Title: Re: Fixed size (height) for product boxes.
Post by: Armanshah on May 30, 2014, 12:13:01 PM
Ok, don't get angry.

But, please, suggest what code to add. I'll find the template css file of course.
Title: Re: Fixed size (height) for product boxes.
Post by: JoomTut on May 30, 2014, 19:34:16 PM
Quote from: Armanshah on May 30, 2014, 12:13:01 PM
Ok, don't get angry.

But, please, suggest what code to add. I'll find the template css file of course.
Your website url?
Title: Re: Fixed size (height) for product boxes.
Post by: Armanshah on June 02, 2014, 15:17:13 PM
As my site is under construction, here is the link to template I use -

http://www.bonusthemes.com/demo/joomla25/moda/index.php?option=com_virtuemart&view=category&virtuemart_category_id=5&Itemid=195

Look, squares vary in height. This is due to the length of the text inside of course. But I hope there is some code to specify the minimum (maximum) size boxes.

(http://s24.postimg.org/8yan6c6g5/Untitled_1.jpg)

Thanks.
Title: Re: Fixed size (height) for product boxes.
Post by: skhn123 on June 03, 2014, 15:06:15 PM
i added these css with help of firebug for you product title:
.width70.floatright > h2 {
    font-size: 16px !important;
    text-align: left;
}

and its kinda a looking good. see attachment.

[attachment cleanup by admin]