Title: [Plugin: Slick Contact Forms] iPhone problem
Last modified: August 20, 2016

---

# [Plugin: Slick Contact Forms] iPhone problem

 *  Resolved [madziczyzna](https://wordpress.org/support/users/madziczyzna/)
 * (@madziczyzna)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-slick-contact-forms-iphone-problem/)
 * Hi,
    The plugin is great, and works perfectly for me, but I got a report that
   it creates problems for iPhone – “the box flashes as you scroll down the page”,
   my visitor wrote. Any advice on that? My site is [http://psychodynamiczen.org](http://psychodynamiczen.org)
 * Thanks!
 * [http://wordpress.org/extend/plugins/slick-contact-forms/](http://wordpress.org/extend/plugins/slick-contact-forms/)

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/plugin-slick-contact-forms-iphone-problem/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/plugin-slick-contact-forms-iphone-problem/page/2/?output_format=md)

 *  [dathinaios](https://wordpress.org/support/users/dathinaios/)
 * (@dathinaios)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/plugin-slick-contact-forms-iphone-problem/#post-3090562)
 * Yes, I am having the same problem. The plugin also gets really big when zooming.
   Would it be possible to avoid having it scrolling down and magnifying maybe?
 * EDIT: My site in case you want to check is dathin.net
 *  [SweetPweb](https://wordpress.org/support/users/sweetpweb/)
 * (@sweetpweb)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/plugin-slick-contact-forms-iphone-problem/#post-3090605)
 * I’m having trouble with the form on iPhone as well. It is flashing open as I 
   scroll down the page which obstructs the text.
 *  [SweetPweb](https://wordpress.org/support/users/sweetpweb/)
 * (@sweetpweb)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/plugin-slick-contact-forms-iphone-problem/#post-3090606)
 * Issue does not replicate on the iPad, only on iPhone.
    [http://www.DurangoWebDevelopment.com](http://www.DurangoWebDevelopment.com)
 *  [Daedalon](https://wordpress.org/support/users/daedalon/)
 * (@daedalon)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/plugin-slick-contact-forms-iphone-problem/#post-3090611)
 * I came here to report on the same problem. I’ve gotten verified user reports 
   of the Slick Form covering most of their page on iPhone 4S, using iOS 6 and Safari
   with the latest updates.
 * The issue seems to be with the code that should collapse the form on loading.
 * With a different type of phone (waiting for info on what was the make and model)
   I’ve seen the same happen in a slightly different way: the form was not collapsed
   automatically and it was placed wrong. Instead of being in a CSS “fixed” position
   at eg. bottom right of the screen, it was located closer to widget area where
   it was loaded. The bottom of the expanded Slick Form was approximately where 
   a computer browser window would have the 800-1000th horizontal row of pixels.
   Perhaps the placement was done in accordance to a somehow emulated browser window.
 *  [Daedalon](https://wordpress.org/support/users/daedalon/)
 * (@daedalon)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/plugin-slick-contact-forms-iphone-problem/#post-3090612)
 * This discussion might provide a solution: [http://stackoverflow.com/questions/743123/fixed-positioning-in-mobile-safari](http://stackoverflow.com/questions/743123/fixed-positioning-in-mobile-safari)
 *  [Daedalon](https://wordpress.org/support/users/daedalon/)
 * (@daedalon)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/plugin-slick-contact-forms-iphone-problem/#post-3090613)
 * [http://mobile.tutsplus.com/tutorials/mobile-web-apps/ios-5-fixed-positioning-and-content-scrolling/](http://mobile.tutsplus.com/tutorials/mobile-web-apps/ios-5-fixed-positioning-and-content-scrolling/)
   states that despite iOS 5 supporting fixed positioning, “there are still some
   good reasons to depend on third party libraries like iScroll.”
 * I don’t have an iPhone to test with so can’t really recommend one solution over
   another possible one yet. [http://testiphone.com/](http://testiphone.com/) seems
   to emulate iPhone, but I’m not sure how well. I’ll report back when I get some
   testing done with someone’s iPhone.
 *  [Daedalon](https://wordpress.org/support/users/daedalon/)
 * (@daedalon)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/plugin-slick-contact-forms-iphone-problem/#post-3090618)
 * I’ve now gotten the following test results:
 * **iPhone 4S, iOS 6 with latest updates, Safari:** The feedback form is always
   open and displayed in the center of the screen instead of its proper position.
   With the small screen this is most counter-productive, so I’m considering a workaround
   for the plugin to display nothing for iPhone clients.
 * **iPhone 5, iOS 6.0.1 with latest updates, Safari: **The same. User reported 
   all iOS 5 versions should have the same CSS / JS support in regards to this.
 * **Nokia Lumia 710, Internet Explorer: **The feedback form is always open and 
   displayed in the widget area instead of its proper position.
 *  Plugin Author [remix4](https://wordpress.org/support/users/remix4/)
 * (@remix4)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/plugin-slick-contact-forms-iphone-problem/#post-3090619)
 * [@daedalon](https://wordpress.org/support/users/daedalon/) re Nokia Lumia – this
   indicates a javascript error elsewhere on the page that is preventing the jquery
   from loading
 * To hide the form on mobiles you can add the following css to your responsive 
   website media queries:
 * .dc-contact-slick {display: none;}
 *  [Daedalon](https://wordpress.org/support/users/daedalon/)
 * (@daedalon)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/plugin-slick-contact-forms-iphone-problem/#post-3090620)
 * **Workaround: **hide the widget completely for Safari on iPhone 4 and 5 and IEMobile
   9.0 on Lumia 710.
 * Open _dcwp\_slick\_contact.php_, locate line 13:
 * `global $registered_skins;`
 * and paste above it:
 *     ```
       // Custom: Don't display widget for mobile browsers with compatibility issues
       // 'iPhone3C' is the user agent for some iPhone 4 models, but not any iPhone 3 models. http://enterpriseios.com/wiki/Complete_List_of_iOS_User_Agent_Strings
       $user_agent = $_SERVER['HTTP_USER_AGENT'];
       if ( strpos( $user_agent, 'IEMobile/9.0; NOKIA; Lumia 710)' )
       	|| ( strpos( $user_agent, 'Safari' )
       		&& (
       			strpos( $user_agent, 'iPhone3C' )
       			|| strpos( $user_agent, 'iPhone4' )
       			|| strpos( $user_agent, 'iPhone5' )
       		)
       	) {
       	return;
       }
       ```
   
 * You can test that it works by temporarily changing ‘Lumia 710’ to eg. ‘Firefox’,
   if you’re using Firefox. The widget should disappear when you refresh (and clear
   the cache of any cache plugins you might use). Don’t forget to restore the Lumia
   or no Firefox users would not see the widget. Feel free to tweak further and 
   share your improvements.
 *  [Daedalon](https://wordpress.org/support/users/daedalon/)
 * (@daedalon)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/plugin-slick-contact-forms-iphone-problem/#post-3090621)
 * **Remix4: **Thanks for the info. With any luck it’s a JS bug in IEMobile9.0, 
   and a later update will fix it for Lumia 710.
 * The CSS workaround is more update-safe. It needs a separate declaration so that
   the setting is activated only for mobile clients, or even better, only the affected
   ones (iPhone 4 & 5: Safari; Lumia 710: IE9Mobile verified). The PHP solution 
   I posted should limit the effect to the affected clients only and it provides
   a tiny bit better performance, but an update of the plugin would naturally erase
   it.
 *  [SweetPweb](https://wordpress.org/support/users/sweetpweb/)
 * (@sweetpweb)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/plugin-slick-contact-forms-iphone-problem/#post-3090625)
 * Thank you Daedalon and Remix4 for all of your help and efforts.
    CSS tweak worked
   great for me as I am not as literate with PHP…
 *  [Daedalon](https://wordpress.org/support/users/daedalon/)
 * (@daedalon)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/plugin-slick-contact-forms-iphone-problem/#post-3090626)
 * I’ve improved the PHP solution meanwhile. However, it seems that cache plugins
   such as [WP Super Cache](http://wordpress.org/extend/plugins/wp-super-cache/)
   will render it mostly useless by sending the same page to all users.
 * CSS solution has the advantage of working regardless of cache settings. Any recommendations
   on how to use the following CSS rule only for certain affected mobile browsers?
 * `.dc-contact-slick {display: none;}`
 *  [SweetPweb](https://wordpress.org/support/users/sweetpweb/)
 * (@sweetpweb)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/plugin-slick-contact-forms-iphone-problem/#post-3090628)
 * Not sure how to accomplish browser specific so had to base it on screen resolution…
 * My theme has some responsive CSS declarations so, if yours does, you can place
   it in there… I have a few for different screen resolutions so I added the display:
   none; to all less than 768px:
 * E.g.
 *     ```
       @media only screen and ( max-width: 767px ) {
   
       .dc-contact-slick {display: none;} 
   
       }
       ```
   
 *  [Daedalon](https://wordpress.org/support/users/daedalon/)
 * (@daedalon)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/plugin-slick-contact-forms-iphone-problem/#post-3090629)
 * Thanks, **SweetPweb**. The theme I’m currently using, [Elbee Elgee](https://wordpress.org/extend/themes/elbee-elgee),
   doesn’t have responsive declarations by default.
 * Opera Mobile 12 on Nokia E71 with a 320 x 240 px screen shows the feedback form
   exactly as it should. But there are certain browsers that show it horribly wrong,
   such as Safari on iPhones (but not on Macs), so I’m looking for CSS or HTML that
   can be used to affect the display only on those exact problematic browsers.
 * I’ll be looking at [jQuery Safari iPhone detection (search results)](https://privatelee.qrobe.it/search/?q=jQuery+Safari+iPhone+detection)
   next, but if someone knows of a solution already, that’d be handy 🙂
 *  [Daedalon](https://wordpress.org/support/users/daedalon/)
 * (@daedalon)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/plugin-slick-contact-forms-iphone-problem/#post-3090632)
 * **JohnWilson1**‘s message right above this one seems like spam to me.

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/plugin-slick-contact-forms-iphone-problem/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/plugin-slick-contact-forms-iphone-problem/page/2/?output_format=md)

The topic ‘[Plugin: Slick Contact Forms] iPhone problem’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/slick-contact-forms.svg)
 * [Slick Contact Forms](https://wordpress.org/plugins/slick-contact-forms/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/slick-contact-forms/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/slick-contact-forms/)
 * [Active Topics](https://wordpress.org/support/plugin/slick-contact-forms/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/slick-contact-forms/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/slick-contact-forms/reviews/)

## Tags

 * [iphone](https://wordpress.org/support/topic-tag/iphone/)
 * [mobile](https://wordpress.org/support/topic-tag/mobile/)

 * 16 replies
 * 5 participants
 * Last reply from: [Daedalon](https://wordpress.org/support/users/daedalon/)
 * Last activity: [12 years, 10 months ago](https://wordpress.org/support/topic/plugin-slick-contact-forms-iphone-problem/page/2/#post-3090706)
 * Status: resolved