can anyone plz tell me how to make my header image responsive i have done it so far by doind this
site-header {background: url(images/headers/logo.png) no-repeat scroll 0 0 transparent!important;
background-size: 100% auto!important;}
@media only screen and (max-width: 1599px)
{
.site-header {background: url(images/headers/logo.png) no-repeat scroll 0 0 transparent!important; background-size: 100% 80%!important;}
}
@media only screen and (max-width: 1069px)
{
.site-header {background: url(images/headers/logo_1200.png) no-repeat scroll 0 0 transparent!important; background-size: 100% 80%!important;}
}
@media only screen and (max-width: 999px)
{
.site-header {background: url(images/headers/logo_1000.png) no-repeat scroll 0 0 transparent!important; background-size: 100% 63%!important;}
}
@media only screen and (max-width: 767px)
{
.site-header {background: url(images/headers/logo_780.png) no-repeat scroll 0 0 transparent!important; background-size: 100% 63%!important;}
}
@media only screen and (max-width: 643px)
{
.site-header {background: url(images/headers/logo_650.png) no-repeat scroll 0 0 transparent!important; background-size: 100% 80%!important;}
}
@media only screen and (max-width: 359px)
{
.site-header {background: url(images/headers/logo_360.png) no-repeat scroll 0 0 transparent!important; background-size: 100% 80%!important;}
}
but i found that when i go for responsive ,my image looks like stretching and for that only i have added different resolution images but still it is going like that…
can anyone help me out..
i have changed the min-height:152px;