Back to All

Styles not applying

Hi, I'm trying to assembly the web, but it is not getting styles under 768px for footer. I desinged it following mobile first, and it chargue properly using it outside of kane.

I also tried to include all of then into a @media (max-width:768px){....} and it does not work.

Using Visual Studio Code and opening the .html route it works properly.

¡Hola! Ya hemos visto el error, y sí que funciona con el @media (max-width:768px){....}, pero no se visualiza en el studio vamos a mirar de solucionarlo lo antes posible.

Mientras tanto si pones @media (max-width:768px){ width: 300px !important;} con el important sí que se ve también en el studio.

¡Muchas gracias por el comentario!

(edited)

!Hola! hemos estado mirando el error y el problema es que al final de @media (max-width:768px){....} y en el caso de que le hayas puesto un width al footer dentro del media y de haber puesto el width: 300px; por ejemplo le has de poner un !important porque si no coge como preferencia el width que se ha preestablecido anteriormente. En el caso de que no le hayas puesto un width anterior no hace falta que le pongas el !important.

Buenas tardes¡ Solucionado, muchas gracias por la rápida respuesta