Re: Modules not ligned out nice

More
13 years 6 months ago - 4 years 4 months ago #9117 by cuevision
Hi,

As you can see on the attached images, the modules are not equal there is space, which I have marked with the red lines. BUT! When I look at these modules e.g. the homepage (images 3 and 4), they are nice.

Hope this can be solved too.
THANKS and regards,
Ed
Last edit: 4 years 4 months ago by milos.

Please Log in to join the conversation.

More
13 years 6 months ago #9127 by tenoch
The same is happening in my site

In some Sections it looks fine, and in other it doesn´t

Please Log in to join the conversation.

More
13 years 6 months ago - 4 years 4 months ago #9129 by cuevision
Hi Tenoch,

Strange issue. I think this could be solved to make same enters under the lines, but this is more an escape than realy solving it. So I hope there come a solution for this :(

Perhaps ivan.milic will have a solution.
Code:
www.vvmoerkapelle.nl/joomla1 (works good) http://www.vvmoerkapelle.nl/joomla1/features/template.html (works wrong)

Regards,
Ed
Last edit: 4 years 4 months ago by milos.

Please Log in to join the conversation.

More
13 years 6 months ago - 4 years 4 months ago #9130 by cuevision
Hi I find now where it is going wrong. Have a look at the two images and see the red lines. For some reason is div id="c5" and div id="c6" and so on the problem. In the first image you see a value height: 144px; In the second image this value is not present.

This might be a CSS issue, but now find out why it use 144px not everywhere.

Regards,
Ed
Last edit: 4 years 4 months ago by milos.

Please Log in to join the conversation.

More
13 years 6 months ago #9133 by ivan.milic
Hi , opent index.php of template and find this:
Code:
<?php if($uppermodules or $bottommodules) { ?> <!-- equal heights --> <script type="text/javascript" src="<?php echo $template_path ?>/js/equal_heights.js"></script> <script type="text/javascript"> window.onload = function() { <?php if($bottommodules) { ?> BoxHeights.equalise(<?php if($showuser[5]) { ?>'c1'<?php } if($showuser[6]) { ?>,'c2'<?php } if($showuser[7]) { ?>,'c3'<?php } if($showuser[8]) { ?>,'c4'<?php } ?>); <?php } ?> <?php if($uppermodules) { ?> BoxHeights.equalise(<?php if($showadvert[1]) { ?>'c5'<?php } if($showadvert[2]) { ?>,'c6'<?php } if($showadvert[3]) { ?>,'c7'<?php } if($showadvert[4]) { ?>,'c8'<?php } ?>); <?php } ?> } </script> <?php } ?>

then replace that with this:
Code:
<?php if($uppermodules or $bottommodules) { ?> <!-- equal heights --> <script type="text/javascript" src="<?php echo $template_path ?>/js/equal_heights.js"></script> <script type="text/javascript"> <?php $cUserArray = Array(); $cAdvArray = Array(); if($showuser[5]) $cUserArray[1] = "'c1'"; if($showuser[6]) $cUserArray[2] = "'c2'"; if($showuser[7]) $cUserArray[3] = "'c3'"; if($showuser[8]) $cUserArray[4] = "'c4'"; if($showadvert[1]) $cAdvArray[1] = "'c5'"; if($showadvert[2]) $cAdvArray[2] = "'c6'"; if($showadvert[3]) $cAdvArray[3] = "'c7'"; if($showadvert[4]) $cAdvArray[4] = "'c8'"; ?> window.onload = function() { <?php if($bottommodules) { ?> BoxHeights.equalise(<?php echo join(",",$cUserArray); ?>); <?php } ?> <?php if($uppermodules) { ?> BoxHeights.equalise(<?php echo join(",",$cAdvArray); ?>); <?php } ?> } </script> <?php } ?>

Please Log in to join the conversation.

More
13 years 6 months ago #9141 by cuevision
:woohoo: :woohoo:

Hi ivan.milic

As always; we can rely on your knowledge! THANKS. This did the job and works like a charm.

ivan.milic have a nice day!

Regards,
Ed

Please Log in to join the conversation.

Time to create page: 0.105 seconds
Powered by Kunena Forum