Navigation
열기 닫기
배경 cover 컨텐츠의 JS를 아래와 같이 수정해드렸습니다.
jQuery(function($){ $('.etc__61155__').closest('.row').css({'max-width':'1540px','margin-right':'auto','margin-left':'auto'}); $('.etc__61155__').closest('.col').addClass('col__61155__'); $('.etc__61155__').closest('.col').children().css({'background-size':'cover'});
$(window).on('load resize',function(){ autoHeight() });
function autoHeight(){ var celHeight = 0; $('.etc__61155__').closest('.col').children().css('height', 'auto'); $('.etc__61155__').closest('.col').parent().find('.col').each(function(){ if($(this).outerHeight() > celHeight){ celHeight = $(this).outerHeight(); } }); $('.etc__61155__').closest('.col').children().css('height',celHeight+'px'); } })
열기 닫기
배경 cover 컨텐츠의 JS를 아래와 같이 수정해드렸습니다.
jQuery(function($){
$('.etc__61155__').closest('.row').css({'max-width':'1540px','margin-right':'auto','margin-left':'auto'});
$('.etc__61155__').closest('.col').addClass('col__61155__');
$('.etc__61155__').closest('.col').children().css({'background-size':'cover'});
$(window).on('load resize',function(){
autoHeight()
});
function autoHeight(){
var celHeight = 0;
$('.etc__61155__').closest('.col').children().css('height', 'auto');
$('.etc__61155__').closest('.col').parent().find('.col').each(function(){
if($(this).outerHeight() > celHeight){
celHeight = $(this).outerHeight();
}
});
$('.etc__61155__').closest('.col').children().css('height',celHeight+'px');
}
})