Retina Logo?

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Thu Feb 20, 2014 8:28 pm
Reply with quote
Report this post
Hi!

Is is possible to integrate a second logo with higher resolution for retina displays? Or do you have another solution? Logos aren't really sharp on retina displays.

Thanks!
User avatar
Junior Boarder

GK User
Thu Feb 20, 2014 8:40 pm
Reply with quote
Report this post
You can use double sized logo "shrinked" to 50% size and media-queries to replace the original logo when screen densiti is equal 2:
Code: Select all
@media (-webkit-min-device-pixel-ratio: 2) {
#gkLogo.cssLogo {
background: transparent url('../images/style1/retinalogo.png') no-repeat 0 0;
background-size:57px 57px;
}
}

where size of the image is double of background-image size.
Given values are sample ones.
User avatar
Moderator

GK User
Thu Feb 20, 2014 9:50 pm
Reply with quote
Report this post
perfect, you're the best :D
User avatar
Junior Boarder

GK User
Fri Feb 21, 2014 7:40 am
Reply with quote
Report this post
Thanks :)
If You will have any other questions, feel free to post new forum threads.
User avatar
Moderator