Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

184
Vistas
How can you prevent site width issues after users zooms out on mobile?

GIF showing site width issue.

Here's the page in question. Note that the problem also exists on the rest of the site, as least on my iPhone 13 Pro Max.

I've tried a number of meta tags, scripting solutions, and CSS adjustments from the answers of similar questions, but nothing's been working so far. Is there a way to fix the site width issue using HTML/CSS/JS?

These are the two approaches I've been attempting (and failing) to use:

  1. Forcing the mobile browser to recalculate width after zooming
  2. Preventing user zoom from effecting the background (and possibly header) at all, but allowing user zoom to scale up the linking image elements.

This is the CSS I'm styling the .section-background element with, but the issue appears to affect all the site elements (see both header and grid of images slightly scale and shift left after zoom):

.section-background {
background-attachment: fixed;
background-position: center;
background-repeat: no-repeat !important;
-webkit-background-size: cover !important;
-moz-background-size: cover !important;
-o-background-size: cover !important;
background-size: cover !important;
position: fixed !important;
height: 100vh !important;
aspect-ratio: initial !important;
max-height: 100vh;
overflow-x: hidden !important;
overflow-y: hidden !important;
pointer-events: none !important;
cursor: default !important;
width: 100vw !important;
z-index: 0 !important;
}
about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

Solved the post-zoom site width problem with the following CSS:

.code-block {
position: absolute !important;
top: 0;
left: 0;
padding: 0 !important;
width: 100% !important;
height: 100% !important;
}
about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda