Hi,
I've change touch devices image. But when I checking on smartphone I see primary logo image.
how to change it? I want primary logo when I'm using computer an other logo when I using tablet or smartphone.
BR
#gkLogo.cssLogo { background-image: url("../images/logo-tablet.png"); }
/* Smartphones (portrait and landscape) ----------- */
@media only screen
and (min-device-width : 320px)
and (max-device-width : 480px) {
#gkLogo.cssLogo { background-image: url("../images/logo-smartphone.png"); }
}
/* Smartphones (landscape) ----------- */
@media only screen
and (min-width : 321px) {
#gkLogo.cssLogo { background-image: url("../images/logo-smartphone.png"); }
}
/* Smartphones (portrait) ----------- */
@media only screen
and (max-width : 320px) {
#gkLogo.cssLogo { background-image: url("../images/logo-smartphone.png"); }
}
/* iPads (portrait and landscape) ----------- */
@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px) {
#gkLogo.cssLogo { background-image: url("../images/logo-tablet.png"); }
}
/* iPads (landscape) ----------- */
@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px)
and (orientation : landscape) {
#gkLogo.cssLogo { background-image: url("../images/logo-tablet.png"); }
}
/* iPads (portrait) ----------- */
@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px)
and (orientation : portrait) {
#gkLogo.cssLogo { background-image: url("../images/logo-tablet.png"); }
}
height: 45px;
width: 84px;
#gkLogo.cssLogo {
background: url("../images/logo-small.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
height: __px;
margin: 5px 20px 0 0;
width: ___px;
}