Aligning bottom of content and right module

More
11 years 8 months ago - 11 years 8 months ago #28579 by Colossally
Thanks for a really great template.

I see that in some cases when the main content is long, the right module extends alongside it until the end of the main content but in some cases it doesn't.

Also sometimes the content extends along with the right module and sometimes it doesn't.

What do I need to change to ensure that the bottom of the main content and the bottom of right module is aligned at all times?

Link: www.wowcapetowntours.com

Thanks.
Last edit: 11 years 8 months ago by Colossally.

Please Log in to join the conversation.

  • milos
    Support Staff
  • Moderator
  • Moderator
More
11 years 8 months ago #28583 by milos
The link you gave has the equal heights of the columns.
Please give me the link of the page where the problem can be seen.

Thanks
Milos

Please Log in to join the conversation.

More
11 years 8 months ago #28602 by Colossally
Link to where right menu doesn't extend: wowcapetowntours.co.za/tours

Link to where main content doesn't extend: wowcapetowntours.co.za/food-tour-packages

Thanks!

Please Log in to join the conversation.

More
11 years 8 months ago #28605 by ivan.milic
Open :

templates/hot_destinations/js/equal_heights.js

this line:
for (var i=0;i<this.num;i++) $(arguments).style.height = this.maxh+"px";

change to:

for (var i=0;i<this.num;i++) {
try{
jQuery("#" + arguments).css('height',this.maxh+"px");
}catch(e){}
}

Please Log in to join the conversation.

More
11 years 8 months ago #28612 by Colossally
Thanks for the response. I tried replacing the code as instructed but now the home page main content is also shortened: www.wowcapetowntours.co.za

Please Log in to join the conversation.

More
11 years 8 months ago - 11 years 8 months ago #28614 by ivan.milic
Some code was not visible in prev post use this:
Code:
for (var i=0;i<this.num;i++) { try{ jQuery("#" + arguments[i]).css('height',this.maxh+"px"); }catch(e){} }
Last edit: 11 years 8 months ago by ivan.milic.

Please Log in to join the conversation.

Time to create page: 0.095 seconds
Powered by Kunena Forum