• Resolved sternhagel

    (@sternhagel)


    When using the “Date” field in the contact form, the CSS for the calendar (date/ctf_epoch_styles.css) will not be loaded. This is because the @import statement is injected using jQuery (lines 196-198 in includes/class-fscf-util.php), but jQuery might not be available at that moment.

    A workaround working for me:

    • remove or comment out lines 196-198
    • remove comment from line 165 (wp_enqueue_style ...)

    https://www.ads-software.com/plugins/si-contact-form/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi sternhagel, that is very strange because on my test server works well for me.

    Have you tried to deactivate all other plugins and enable one by one to see if it is a plugin conflict?

    Regards

    Thread Starter sternhagel

    (@sternhagel)

    Hi mbrsolution,

    thanks for responding so quickly!
    Yes, I deactivated all other plugins, it doesn’t make any difference.

    jQuery is loaded in the footer, after the function call mentioned above, so it’s not yet available.

    My configuration: WP 3.9.1, si-contact-form 4.0.19
    Active theme: Twenty Eleven 1.8

    It might be connected to the theme, though, I couldn’t test that yet. Maybe some themes load jQuery earlier, and others in the footer – just an idea…

    Hi, try changing to another WordPress default theme like Twenty Thirteen or Fourteen?

    Thread Starter sternhagel

    (@sternhagel)

    Yep, you’re right. Works fine with all other tested themes, only Twenty Eleven is not working :-/

    So this should be a bug report for the Twenty Eleven theme instead – or do you have an idea how to make it compatible to all the themes?

    Hi, I am glad you found the issue.

    Unfortunately this is more a development issue from the theme developers in WordPress.

    Since this is no longer this plugins issue, can you mark this support thread as resolved.

    Thank you.

    Thread Starter sternhagel

    (@sternhagel)

    OK, will forward this to the theme developers.

    Thanks for helping!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘CSS for calendar not loading’ is closed to new replies.