.scrollImg.scrollScroll { background-image: url('uploads/casas/eu/mielelbardal/web/cabeceras/galeriiiias_visitas_al_colmenar.jpg'); background-repeat: no-repeat; height: 650px; background-position-x: 50%; background-size: auto 275px; background-size: cover; } @supports ( -webkit-touch-callout : none) { .scrollImgFixed.scrollFixed { background-attachment:scroll !important; } } jQuery(window).scroll(function(){ jQuery(.scrollImg.scrollScroll).each(function( index ) { var barra = jQuery(window).scrollTop()-jQuery(this).offset().top + 550; var posicion = (barra * 0.30); jQuery(this).css({ 'background-position-y': (0+posicion-200) + 'px' }); }); var barra = jQuery(window).scrollTop()-jQuery(.scrollImg.scrollScroll).offset().top + 550; var posicion = (barra * 0.30); jQuery(.scrollImg.scrollScroll).css({ 'background-position-y': (0+posicion-200) + 'px' }); }); .divFotoTitulo { width: calc(25% - 30px); display: inline-block; margin: 0 12px; text-align: center; } .divFotoTitulo .imgTablaEsp { width: 100%; } .boxFotoTitulo { text-align: center; } @media only screen and (max-width: 1100px) { .divFotoTitulo { width: calc(33% - 24px); height: initial; } } @media only screen and (max-width: 800px) { .divFotoTitulo { width: calc(50% - 24px); height: initial; } } @media only screen and (max-width: 400px) { .divFotoTitulo { width: calc(100% - 24px); height: initial; } } Ven a conocernosEn primavera comienzan las visitas al colmenarUn sábado de Abril