Issue with smilies being tiny post-upgrade
-
Hoping someone will be able to help with this issue I’m having.
Upgraded my site to 4.2 the other day via the auto-update (after backing everything up). Everything seemed to go okay but my smilies are now tiny and barely visible (can’t make out the detail).
The smilies I use are neither WP standard nor a plugin. I had edited the functions.php to include additional code (on top of what was already there) and then uploaded some of my own smilies to replace the WP standard images. Haven’t ever had an issue with this working until this upgrade to 4.2.
An example of what the images are doing can be found here:
https://www.oliverandfelicity.com/test-page-for-wp-4-2/As you can see, there’s a big difference!
When I use the ‘inspect element’ function of Chrome to check the code of the smilies, this is what shows up:
<img src="https://www.oliverandfelicity.com/wp-includes/images/smilies/icon_lol.gif" alt=":lol:" class="wp-smiley" style="height: 1em; max-height: 1em;">
I’ve tried using the fix James Huff suggested here – in both the Appearances > Edit CSS area and also my custom theme’s CSS – but all it ended up doing was stretching the image up (ie tall and thin). When I tried adding a width property as well, the image looked sort of zoomed in and blurry (ie not it’s ‘natural’ state). Also tried using various other values (auto, 100%, etc instead of 1.5em) with no change.
Unfortunately, because the smiley images I’m using are different sizes, I’m unable to use an absolute px value.
Other things to note:
- I did a manual update of 4.2 last night over the initial autoupdate, just in case there were any issues I was unaware of. It hasn’t made any difference.
- I tried the fix suggested by apocalypseboy.com here – it didn’t work
- Also tried running the plugins ‘Disable Emojis’ and ‘Classic Smilies’ – again, no change
- Had to disable all the plugins when I was running the manual update last night – having plugins disabled also didn’t make any change to the smiley size
To be honest, I’m absolutely stumped as to what else I can try. From looking at the code last night, it looks like I would need to do something to the
img.wp-smiley
andimg.emoji
styles/classes that are introduced in the header themselves (underneath a JS function?? as shown here)… because nothing else seems to be working.Grateful for any help or assistance anyone can provide!!
Cheers
Sez
- The topic ‘Issue with smilies being tiny post-upgrade’ is closed to new replies.