Joomla - Virtuemart - 3 columns - not in the middle


Have a look at the embedded picture: there are 3 columns in the VM categery -> the problem is that the left margin, right margin and the distance between images are uneven (I drew purple arrows to show it).
I suppose this is because of the length of the text. I attached my "browse flypage" too.

The link is:

<?php if( !defined( '_VALID_MOS' ) && !defined( '_JEXEC' ) ) die( 'Direct Access to '.basename(__FILE__).' is not allowed.' );


<!-- <table><tr><td></td></tr></table> -->

<div style="clear:both;">
<table width="100%">
<td><a style="font-size:16px; font-weight:bold;" href="<?php echo $product_flypage ?>"><?php echo $product_name ?></a>  </td>
	<td><?php echo ps_product::image_tag( urldecode($product_thumb_image), 'class="browseProductImage" border="0" title="'.$product_name.'" alt="'.$product_name .'"' ) ?>
  <tr><td colspan="2"><?php echo $product_s_desc ?> </td>
<td><a href="<?php echo $product_flypage ?>">[<?php echo $product_details ?>...] </a></td>
<td><?php echo $product_price ?> </td>

Open in new window

Who is Participating?
joomla_phpConnect With a Mentor Commented:
add this to template.css in

div#vmMainPage div#product_list
Panagiotis Sweb developer - designer Commented:
give a width to the to the div that holds the text!
starhuAuthor Commented:
I set it, now the texts have the same width as the pictures, but the distances are still uneven :-(
The code is even, it's the pictures that are different widths.
starhuAuthor Commented:
Ok, then have a look at

Here the pictures have the same width and the left margin is much less than the right margin.

The customer wants the 3 picture to be in the middle - the left margin and right margin should be the same width like this:

<--left  margin--> picture 1 picture 2 picture 3 <--right margin-->
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.