So I don’t know anything really when it comes to developing for iPad. I have a WordPress site and I’m using WPTouch to present to mobile devices. The desktop version is showing for iPads and it looks pretty good. The trouble is the drop down menu functionality is horrible. The menu is 100% CSS. If you hover it, the menu comes up sometimes but disappears. If it doesn’t disappear, tapping on any of the links proves fruitless (just closes the drop down menu).
Is there a simple solution without creating an iPad theme? My top category links also point to pages, but if necessary I can disable them in place of functionality.
The site is: http://pureamericannaturals.com
Ok, I made this as simple as possible and here’s how:
#
as the href. If the top menu link didn’t have sub-category items it can stay the default link.In my
header.php
I did a quick test to see the User Agent is an iPad or notPulled it all together with a custom
touchstart
eventHere’s the simplest solution that we use – add the following line inside to your span, li or anchor causes the iPad to behave like safari on mac and on click open the dropdown
See it in action here – http://www.naturalsal.it/