Jump to content

Cambiar elementos cuando la plantilla se hace responsive [SOLUCIONADO]


vickthikor

Recommended Posts

Buenas tardes,

 

 

Tengo un modulo Contebox en el cual he introducido código html y funciona genial, mi pregunta es si existe alguna forma de que este modulo desaparezca cuando alguien visita mi web desde una tablet o una pantalla mas pequeña...

 

se que existen los Hook que sirven para decirle a los módulos donde si y no tienen que aparecer, pero para cuando se hace la plantilla responsive ¿existe alguna manera de que el modulo desaparezca?

 

 

Utilizo prestashop 1.5.6

 

 

 

muchas graciass de ante mano 

Edited by vickthikor (see edit history)
Link to comment
Share on other sites

No sé si usted piensa esto, pero usted puede ocultar un elemento de acuerdo con el ancho del navegador del usuario.

 

I don't know if you think this, but you can hide an element according to the width of user's browser.

@media (max-width: 767px) {
    .my_block {display: none;} }
Link to comment
Share on other sites

Hola Members,

 

Se soluciono mi problema, funciona perfectamente, cuando la web se hace resposibe para pantallas pequeñas el modulo desaparece totalmente, y cuando la pantalla es mas grande el modulo sigue ahí. 

 

muchas gracias por tu ayuda. 

 

 

 

Un cordial saludo, doy el tema como solucionado. 

 

 

------------------------------------

 

 

 

Hello Members,
 
I solve my problem, it works perfectly, when the web resposibe for small screens is the module completely disappears, and when the screen is larger module is still there.
 
thank you very much for your help.
 
 
 
Regards, give the issue as settled.
Link to comment
Share on other sites

  • nadie locked this topic
Guest
This topic is now closed to further replies.
×
×
  • Create New...