- Posts: 6
- Thank you received: 0
Aligning bottom of content and right module
-
Colossally
Inactive member - Topic Author
- New Member
Less
More
11 years 8 months ago - 11 years 8 months ago #28579
by Colossally
Aligning bottom of content and right module was created 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.
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
Less
More
- Posts: 6744
- Thank you received: 716
11 years 8 months ago #28583
by milos
Replied by milos on topic Aligning bottom of content and right module
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 give me the link of the page where the problem can be seen.
Thanks
Milos
Please Log in to join the conversation.
-
Colossally
Inactive member - Topic Author
- New Member
Less
More
- Posts: 6
- Thank you received: 0
11 years 8 months ago #28602
by Colossally
Replied by Colossally on topic Aligning bottom of content and right module
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!
Link to where main content doesn't extend: wowcapetowntours.co.za/food-tour-packages
Thanks!
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
11 years 8 months ago #28605
by ivan.milic
Replied by ivan.milic on topic Aligning bottom of content and right module
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){}
}
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.
-
Colossally
Inactive member - Topic Author
- New Member
Less
More
- Posts: 6
- Thank you received: 0
11 years 8 months ago #28612
by Colossally
Replied by Colossally on topic Aligning bottom of content and right module
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.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
11 years 8 months ago - 11 years 8 months ago #28614
by ivan.milic
Replied by ivan.milic on topic Aligning bottom of content and right module
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