• Resolved janburg

    (@janburg)


    I’m working on an old Canvas theme website, works fine but client has requested ReCaptcha added to the contact form. Did this fine with Contact Form 7. But I still have the old contact form showing on the site. I’ve found relevent code on the template-contact.php file and have removed it, but still have the form showing. This theme is no longer supported it seems, so I’m hoping for help from some kind person here. Where else would the code generating this form be coming from?

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi janburg,

    I’m assuming you want to get rid of the second contact form on the page that doesn’t have the reCaptcha underneath it, correct?

    From running Inspect Element, I notice you’ve got an ordered list with a class of “form” that seems to be hardcoded into the template file.

    The CSS code for this extra form is below and is on line 731 of your stylesheet. If you can’t find the hardcoded ordered list, “display:none;” will hide it until you can find it, as I’ve shown below.

    #contact-page ol.forms { 3bef2.css:731
    float: left;
    list-style: none;
    width: 100%;
    margin: 10px 0 0;
    display: none;
    }

    LMK if this helps.

    Thread Starter janburg

    (@janburg)

    Awesome, that did it. Thanks for your quick response.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘removing template based form from theme’ is closed to new replies.