• Resolved chouf

    (@chouf)


    Hi there,

    Thanks for the form, it’s simple and efficient; just what I needed. Nevertheless, I’d like to modify a little bit the aspect of it.
    Do you know how I can remove the frame and text “Contact form” displayed around the form?

Viewing 8 replies - 1 through 8 (of 8 total)
  • x

    (@offordscott)

    open wp-contactform.php and change this line (around line 212) from:

    <fieldset><legend> '.__('Contact Form','cfiii').'</legend><div><em>* '.__('Required fields','cfiii').'</em>' . $wpcf_strings['error'] . '</div>

    To:

    <legend> '.__('','cfiii').'</legend><div><em>* '.__('Required fields','cfiii').'</em>' . $wpcf_strings['error'] . '</div>

    And this line (around line 222):

    </fieldset></form>');

    To:

    </form>');

    I hope this helps. Scott

    Thread Starter chouf

    (@chouf)

    Thanks a bunch Scott, it worked like a charm.
    I know have

    line 212:
    <legend> '.__('','cfiii').'</legend><div><em>* '.__('Required fields','cfiii').'</em>' . $wpcf_strings['error'] . '</div>

    and line 222:

    </form>');

    for the moment, result can be seen at http://chouf.be/wordpress/?page_id=3 or later, at http://www.chouf.be

    Thanks a million and happy xmas

    Hi!

    When I use this hack, I get the following message:

    Project-Id-Version:
    POT-Creation-Date:
    PO-Revision-Date: 2007-12-03 13:26+0100
    Last-Translator: Björn Fischer
    Language-Team:
    MIME-Version: 1.0
    Content-Type: text/plain; charset=utf-8
    Content-Transfer-Encoding: 8bit

    The reason is, that I’m using a German Language Pack for the WP Contact Form III PlugIn. Does anybody know, how to hide this?

    Nobody? 🙁

    You should rather open contactform.css and add

    #contactform fieldset { border:none }
    #contactform legend { display:none }

    When I used the hack I got this when I tried to load my website:
    Parse error: syntax error, unexpected ‘<‘ in /home/username/domain.com/wp-content/plugins/wp-contact-form-iii/wp-contactform.php on line 213

    My bad. fixed now.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘How can I remove the frame around the form’ is closed to new replies.