Tagged: ie11, Internet Explorer 11, logo
-
AuthorPosts
-
January 14, 2018 at 4:21 pm #897103
Good day. For the website I am building, the logo looks very bad quality only in IE11. I read some other posts on this support site, but was unable to fix the issue. Every other image on the website in IE11 looks great except the logo. And the logo looks great for all other browsers except IE11. The resolution I am using for the logo is 1400×642. I can’t use the size you recommend in the Enfold settings (340×156) because then the quality does not look good on retina screens.
Could you take a look at my account and see why this is happening on IE11? The test URL and admin access are in the private details below.
Thank you!
January 14, 2018 at 6:59 pm #897127Hey santanin,
I have taking a look and IE11 doesn’t render images well because it’s using an old engine, the solution is suppose to be putting X-UA-Compatible IE=Edge in the header, so I put this code to the end of your child theme functions.php file in Appearance > Editor:add_action( 'send_headers', 'add_header_xua' ); function add_header_xua() { header( 'X-UA-Compatible: IE=edge,chrome=1' ); }
and cleared your site cache, but didn’t notice a difference.
I then uploaded a smaller logo and used a media query to target IE11 only in your child theme css:@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) { span.logo a:before { content: ''; background: url(https://yoursite.com/wp-content/uploads/2018/01/tclogoie2.jpg) no-repeat center; display: block; height: 78px; } }
While the image looked good in IE11 my attempts to hide the old logo failed, IE11 is limited as it is not css3 ready.
Overall IE11 is hard to work with and why Edge is it’s replacement, your logo looks good in Edge.
I would suggest trying some other sizes for your logo, I know you don’t want to go down to 340px, but 1400px is way to big. Perhaps try 700px, it should still look good on other browsers and may work with IE11. If you try a few sizes I’m sure you will find a good compromise.Best regards,
Mike -
AuthorPosts
- You must be logged in to reply to this topic.