Pixelated Image on iPad. Help?
-
Hello. Not even sure if this is where I should ask this question, but I was wondering if someone could help me out with this. I have an image placed on my 1 page website that looks fine on every computer and device I’ve tried it on (MacPro w/ 24″ monitor OS 10.6.8, older 13.3″ Macbook OS 10.6.8, 15.4″ Asus laptop Windows 10, & Galaxy S3 Phone) except an iPad2 with iOS 8.1.1. The only thing I thought that would cause this is possibly the media queries to reduce the size of the image at certain screen sizes. So I disabled them and it still looked horrible. So I enabled them again. Everything else, (text & other images) look just fine. I am using the GeneratePress theme if that makes a difference. Below are all the lines of custom CSS that I am using, which isn’t much. (The image that looks bad is in the “iPhone with Game” section of my css.)
Hopefully someone has dealt with this before. Thanks in advance if you can help me.
/* Text Properties */ p { font-size: 36pt; line-height: 100%; } h1 { line-height: 100%; } @media only screen and (max-width : 1370px) { p { font-size:36px; line-height: 120%; } h1 { font-size:70px; } } @media only screen and (max-width : 768px) { p { font-size:36px; line-height: 120%; } h1 { font-size:70px; } } /* Header */ .main-navigation { margin-top: 10px; } /* iPhone with Game */ #generate-section-2 { margin-top: -160px; } @media only screen and (max-width : 1370px) { #generate-section-2 > div > p > img { max-width: 50%; height:auto; margin-top: -90px; } } @media only screen and (max-width : 1000px) { #generate-section-2 { margin-top: 0px; } #generate-section-2 > div > p > img { max-width: 100%; height:auto; margin-top: 0px; } } /* Footer Site Info */ .site-info { display: none; }
The topic ‘Pixelated Image on iPad. Help?’ is closed to new replies.