• Resolved nerdyone05

    (@nerdyone05)


    Hello, I’m trying this out as an alternative to gravityforms. I’ve made a “simple contact form” and placed it on my page. Testing the form on a 1920 X 1080 monitor the form first comes up with no style. Clicking refresh seems to load the style fine.

    Testing on a iphone 6 plus on first load I see below the “comment” area the field “website” is added to the form.

    I can enter text into the website field and click submit, or I can refresh the page and then the “website” field disappears and the form gets styled correctly.

    I’m hosting with siteground, i’m using their “supercacher” utility .. but turning that off doesn’t seem to make a difference. Any idea why the styles are so inconsistent?

    https://wordpress.org/plugins/wpforms-lite/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jared Atchison

    (@jaredatch)

    Please provide a link.

    The WPForms CSS stylesheet is not properly loading, which is why you see the additional fields added to the site. Those are the spam honeypot fields which should be hidden when the CSS is loaded.

    We’ve seen the issue before, and I’m willing to bet it is your theme.

    WPForms only loads its files conditionally. That means if there is no form on the page, we don’t load our files since they aren’t needed. If your theme is using those pseudo-AJAX transitions which doesn’t actually reload the page, the form does not display right since the correct asset files are not loaded.

    This is a common issue with multiple plugins for users who use themes that leverage this loading method.

    You can reach out to your theme support and they will show you how to disable the AJAX loading for that page which resolves the issue.

    If you are using the Bridge theme, which is a common offender, you can disable those affects which resolves the issue.

    Disabled ajax loader in Bride Theme Options: Qode Options >> General >> Settings >> Page Transition >> No Animation

    Thread Starter nerdyone05

    (@nerdyone05)

    Hi Jared,

    Thanks for the quick reply. The theme is “oshin” and it appears they also have a section to disable AJAX site wide, or on specific pages.

    http://brandexponents.com/oshin/documentation/site-options/

    So I’ve disabled all AJAX for testing.

    The pages using the forms are :

    http://www.iancosleyphoto.com/contact/ and http://www.iancosleyphoto.com/portraits-info/

    For me, this now looks OK on the desktop, but my phone is still missing the styles … not sure how to clear the cache on my phone. Can you confirm that AJAX is no longer interferring?

    Plugin Author Jared Atchison

    (@jaredatch)

    Everything looks good now to me. I tested the forms and all the styling is loading correctly.

    As far as the mobile issue, my guess is you were hitting the cached version of the site which has now expired. Viewing the form with an iPhone everything looks OK http://cl.ly/0n3o260g2t3b

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Styling on forms is inconsistent’ is closed to new replies.