.scrollImgR.scrollIdeas { background-image: url('/cacheimg?q=100&zc=1&w=2000&src=/uploads/casas/ay/qbiquoservices/web/cabeceras/video_player_template_for_mobile__938.jpg'); background-repeat: no-repeat; height: 350px; background-position-x: 50%; Xbackground-position-y: -350px; background-size: cover; } /* Páginas internas */ .postBlog .art-postcontent, .slide .art-postcontent { max-width: 100% !important; } .blogContent { max-width: 1100px; margin: 0 auto; } .scrollImgR.scrollIdeas { color: #fff; font-size: 45px; text-align: center; padding-top: 200px; height: 250px; } .divBlogPost { width: 100% !important; } @media screen and (max-width: 600px) { .scrollImgR.scrollIdeas { background-position-y: 0px !important; } } /* Fin páginas internas */ @supports ( -webkit-touch-callout : none) { .scrollImgR.scrollIdeas { background-attachment: scroll !important; background-position-x: 50% !important; } } @media only screen and (max-width: 1024px) { .scrollImgR.scrollIdeas { background-image: url('/cacheimg?q=100&zc=1&w=1600&src=/uploads/casas/ay/qbiquoservices/web/cabeceras/video_player_template_for_mobile__938.jpg'); } } @media only screen and (max-width: 768px) { .scrollImgR.scrollIdeas { background-image: url('/cacheimg?q=100&zc=1&w=1024&src=/uploads/casas/ay/qbiquoservices/web/cabeceras/video_player_template_for_mobile__938.jpg'); } } @media only screen and (max-width: 480px) { .scrollImgR.scrollIdeas { background-image: url('/cacheimg?q=100&zc=1&w=800&src=/uploads/casas/ay/qbiquoservices/web/cabeceras/video_player_template_for_mobile__938.jpg'); } } jQuery(document).ready(function() { jQuery(window).scroll(function(){ jQuery(.scrollImgR.scrollIdeas).each(function( index ) { var barra = jQuery(window).scrollTop()-jQuery(this).offset().top + 350; var posicion = -(barra * 0.30); jQuery(this).css({ 'background-position-y': (-350+posicion+50) + 'px' }); }); }); var barra = jQuery(window).scrollTop()-jQuery(.scrollImgR.scrollIdeas).offset().top + 350; var posicion = -(barra * 0.30); jQuery(.scrollImgR.scrollIdeas).css({ 'background-position-y': (-350+posicion+50) + 'px' }); jQuery(.blogContent).before($(.scrollImgR)); jQuery(.scrollImgR .imgPattern).before($(.art-postmetadataheader)); }); .boxFotoTituloContenido .divFotoTituloContenido img { width: 100%; max-width: 450px; border-radius: 0px !important; } .boxFotoTituloContenido .divFotoTituloContenido a { text-decoration: none !important; } .boxFotoTituloContenido .divFotoTituloContenido { float: left; margin: 0 12px; text-align: center; width: calc(33% - 25px); } .boxFotoTituloContenido { text-align: center; } .boxFotoTituloContenido .divImgFotoTituloContenido { /*height: 70px;*/ } .boxFotoTituloContenido .tituloTablaEsp { font-size: 24px; /*width: 191px;*/ width: 100%; margin: 0 auto; text-align: center !important; /*height: 80px;*/ } .boxFotoTituloContenido .contenidoTablaEsp a { font-size: 16px !important; color: #000; } .boxFotoTituloContenido .contenidoTablaEsp { margin-top: 30px; } @media only screen and (max-width: 1024px) { .boxFotoTituloContenido .divFotoTituloContenido { width: calc(50% - 24px); } } @media only screen and (max-width: 480px) { .boxFotoTituloContenido .divFotoTituloContenido { width: calc(100% - 24px); } } Vídeo promocional e-commerce .div_video iframe { max-width: 100%; }