WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: Event Organiser] Custom edit icon for CPT munged on retina iPad

[Resolved] [Plugin: Event Organiser] Custom edit icon for CPT munged on retina iPad

Viewing 7 replies - 1 through 7 (of 7 total)
  • Moderator cubecolour

    @numeeja

    I have applied a workaround outside of the plugin so that it doesn’t get wiped out when the plugin is updated.

    I made a 64px x 64px version of the 32 x 32px icon (a 5 minute job in fireworks for a simple icon), My functionality plugin adds an extra stylesheet to admin already, so I added the following to it:

    /* Events Organiser icon for retina iPad */
    @media screen and (-webkit-min-device-pixel-ratio: 2) {
    	#icon-edit.icon32-posts-event {
    		background: url(eoicon-64.png) no-repeat;
    		background-size: 32px 32px;
    		height: 32px;
    		width: 32px;
    	}
    }

    Thank you for posting this! I shall attempt to resolve this in the next update of Event Organiser (1.4.2) – which should be out in the next few days to fix a few other bugs.

    Moderator cubecolour

    @numeeja

    Great! if you don’t already have a 64px version of the icon, feel free to grab the one I put together: http://cubecolour.com/eoicon-64.png

    Sorry that its taken so long for this to get added – this will be in 1.5 (released today…). Let me know if it works or not (I don’t have anything with which to test it…).

    I’ve had to change it slightly as the class ‘icon32-posts-event’ will not hit all the plug-in pages. But the CSS is conditionally added only on the screens for which its needed, so there shouldn’t be any problems.

    Moderator cubecolour

    @numeeja

    Sounds great! I’ll look out for the update and report back when I’ve tried it.

    Moderator cubecolour

    @numeeja

    Just seen 1.5 is available – I took out the bits I added to my functionality plugin & installed the events organiser update – The icon is looking good on the retina iPad and appears on all of the screens it should. Thanks Stephen.

    Awesome, thanks again for your help fixing this 🙂

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Resolved] [Plugin: Event Organiser] Custom edit icon for CPT munged on retina iPad’ is closed to new replies.