Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    The reason for that is a JavaScript error by another piece of JavaScript code on the page:

    $(".button").click(function() {
    $(".show-before-submit").css("display","none");
    });

    Due to how WordPress loads the jQuery library, this should be written as

    jQuery(".button").click(function() {
      jQuery(".show-before-submit").css("display","none");
    });

    Regards,
    Tobias

    Thread Starter laura_paws

    (@laura_paws)

    Thanks Tobias.

    I can’t seem to find where the code is coming from. Do you know where it is or how to override it (functions.php etc)?

    Thanks,

    Laura

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi Laura,

    it seems to be coming from some sort of contact form, but I don’t know if it’s from a plugin or maybe your theme.

    Regards,
    Tobias

    Thread Starter laura_paws

    (@laura_paws)

    Think it’s coming from the theme. Do you know if there is a way to override it in the functions.php in my child theme?

    Thanks,

    Laura

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi Laura,

    no, I don’t think it’s possible to override it. You’d need to modify the JavaScript code in whatever theme file it’s defined in.

    Regards,
    Tobias

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Fixed header not working’ is closed to new replies.