Hi there,
What you need to equalize are the content and not the columns. Let’s say you successfully equalized the columns, but the buttons will not be aligned since the content is smaller than other content. What you need to equalize is the content height, let’s do this
- Please remove this code from your builder’s custom javascript, it triggers javascript error.
var topOffset = $('.x-slider-container.above').offset().top;
$(window).scroll(function () {
if($('.x-slider-container.above').is(':visible')) {
if($(this).scrollTop() >= topOffset){
$('.x-slider-container.above').hide();
window.scrollTo(0, 0);
}
}
});
Or if you wish to retain that and just need to fix the error, then replace it with this
jQuery ( function($) {
var topOffset = $('.x-slider-container.above').offset().top;
$(window).scroll(function () {
if($('.x-slider-container.above').is(':visible')) {
if($(this).scrollTop() >= topOffset){
$('.x-slider-container.above').hide();
window.scrollTo(0, 0);
}
}
});
} );
- Then change your javascript for equal height content
jQuery(document).ready(function($) {
var max = 0;
$(".equal-content-height").each(function(index, el) {
if( $(this).height() > max ){
max = $(this).height();
}
});
$("#equalise .x-column").css('min-height', max);
});
- Then simply wrap your content with this code
<div class="equal-content-height"></div>
Examples,
<div class="equal-content-height">
<p><span style="color: #ffffff"><b>Our SEA include:</b><br> </span></p>
<p><span style="color: #ffffff">Online Retail Shop – Candyrush<br>Packaging and Assembly<br>Sample Making<br>Lunchbox Café<br>Allotments and Market Garden<br>Clearer Water Bottling<br>Plant Groundworks<br>Facility Hire</span></p>
</div>
<div class="equal-content-height">
<p><span style="color: #ffffff"><b>Transitions Programme</b></span><br><span style="color: #ffffff"><em>(School pupils aged 16-25)</em></span></p>
<p><span style="color: #ffffff">Hands On Training Programme</span><br><span style="color: #ffffff"><em>(unemployed aged 16 – 60)</em></span><br><br><span style="color: #ffffff">Day Opportunities</span><br><span style="color: #ffffff"><em>(aged 16 – 60 referred through NHSCT)</em></span></p>
</div>
<div class="equal-content-height">
<p><span style="color: #ffffff">Self-Directed Support/Direct Payments<br><br>Volunteering Opportunities<br><br>Support for Employers</span></p>
</div>
And with this, you must remove the <br>
elements that you added before the buttons since the equalized height content will now push your buttons down, perfectly aligned.
Hope these help.