It happens also with a jpg instead of a png?
Thread Starter
Tfkalk
(@tfkalk)
It did still occur with the JPG, but I was able to solve it. Turns out the logo was larger than the theme code allowed. So I changed the maximum and my logo appears. Thanks of your help. I’m marking this resolved.
Hi,
I have the same issue as above.
Tried .gif and .jpg files that are actually 250 x 100 with “Force logo dimensions” box both checked and unchecked, but can’t get logo to appear in IE.
If I delete the logo, then generic logo (Site Title) appears OK.
Can you please give me more exact details about how you solved this issue.
Thanks
Check in class-header-header_main.php at row 148 and 149. Width and height is originally set to
= ' ';
and IE interprets this as 1px and makes your image “invisible”.
I had to change in in the php code to:
$width = '250';
$height = '100';
and then the image magically appeared in IE.
Which customizr version?
Do you have “Enable/disable retina support” checked?
@frx_ Top man – worked a treat!
@ d4z_c0nf I’m using latest version of Customizr (3.1.13) and latest version of WP (3.9.1)
I have Retina support enabled. I’m actually test in IE on a MacBook Pro Retina using VMWare fusion.
The fix from frX_ has worked. Will I have to make this change every time the theme gets updated?
@machound Glad to hear that it worked for you!
You will need to change it every time the theme gets updated, unless you are using i Child theme (not sure about this though).
Actually I had to register to this forum just to post the solution for you since I had the same problem, just glad that it helped 🙂
It seems like the script is trying to get the dimensions of the image but fails and returns a “null” and IE cant handle this.
To the devs: I was using a .PNG image with transparent background. not tested any other format.
FYI – I am using a .gif image.
I will post a new forum post marked unresolved and hopefully it will get picked up by the theme developer and a permanent fix will be included in the next update.
It’s a great theme.
Here’s my website:
http://www.portcullisconsulting.co.uk