Foros del Web » Creando para Internet » CSS »

Problema con vista en smartphones

Estas en el tema de Problema con vista en smartphones en el foro de CSS en Foros del Web. Hola, tengo estos estilos @import url("http://static.forosdelweb.com/clientscript/vbulletin_css/geshi.css"); Código CSS: Ver original #bannershow {         width : 100% ;     display : block ...
  #1 (permalink)  
Antiguo 02/05/2018, 10:13
Avatar de el_cesar  
Fecha de Ingreso: mayo-2001
Ubicación: Cali
Mensajes: 2.423
Antigüedad: 22 años, 10 meses
Puntos: 20
Problema con vista en smartphones

Hola, tengo estos estilos
Código CSS:
Ver original
  1. #bannershow
  2. {
  3.    
  4.     width:100%;
  5.     display:block;
  6.     height:650px;
  7.     position:relative;
  8.     background-color:transparent;
  9.    
  10. }
  11. @media only screen and (max-width : 320px) {
  12.     #bannershow
  13. {
  14.    
  15.     width:100%;
  16.     display:block;
  17.     height:150px;
  18.     position:relative;
  19.     background-color:transparent;
  20.     z-index:200;
  21.    
  22. }
  23. #bannershow > span
  24. {
  25.     padding-top: 200px;
  26.     display:none;
  27.     width:100%;
  28.     height:100%;
  29.     position:absolute;
  30.     left:0; right:0; top:0; bottom:0;
  31. }
  32. #bannershow > span > img
  33. {
  34.     padding-top:150px;
  35.     width:100%;
  36.     height:auto;
  37.     position:relative;
  38.     left:0; right:0; top:0; bottom:0;
  39. }
  40. #yepview{
  41.     margin-top: 170px;
  42.     float:left;
  43.     position: relative;
  44. }
  45. }
  46.  
  47. #bannershow > span
  48. {
  49.     display:none;
  50.     width:100%;
  51.     height:100%;
  52.     position:absolute;
  53.     left:0; right:0; top:0; bottom:0;
  54. }
  55.  
  56. #bannershow > span > img
  57. {
  58.     padding-top: 50px;
  59.     width:100%;
  60.     height:auto;
  61.     position:relative;
  62.     left:0; right:0; top:0; bottom:0;
  63. }

esta es la url www.crmbusiness.biz/andres

el problema es que cuando la abro desde smartphones el slider sale detras del menú y no he podido acomodarlo con el padding.

sin embargo, si lo veo como responsive desde el pc se ve bien.

Alguna idea?
__________________
Say no more.......
  #2 (permalink)  
Antiguo 02/05/2018, 10:39
Avatar de DragonX
Colaborador
 
Fecha de Ingreso: mayo-2002
Ubicación: Funkyland
Mensajes: 8.433
Antigüedad: 21 años, 10 meses
Puntos: 177
Respuesta: Problema con vista en smartphones

Código CSS:
Ver original
  1. .logo a img{
  2.     width: 80%;
  3. }
  4. .navbar-toggle{
  5.     position: absolute;
  6.     top: 10px;
  7.     right: 10px;
  8.     margin: 0;
  9. }
  10. #bannershow {
  11.     width: 100%;
  12.     display: block;
  13.     height: auto;
  14.     position: relative;
  15.     background-color: transparent;
  16. }

hace esa modificacion en tu codigo y listo!
slds.-
__________________
Desarrollos dosLotos
Calendario Maya, Meditación, Osho

Etiquetas: auto, estilo, smartphones, vista
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 07:09.