Theme Support Forum

Support Forum for Free and Premium Themes. Premium Theme Forums are Private! Please log in first to see the Premium forums

Viewing 7 posts - 1 through 7 (of 7 total)

Contact Form in Block

Home Forums Misc. General Forums Contact Form in Block

  • #12908

    driggs

    subscriber

    I am hoping to add a contact form in one of the blocks on the front page. I have a contact us plug-in with the short code [contact-form-7 id=”937″ title=”Contact form 1″]. Is this possible to somehow include in the block?

    My site is: http://www.theutahadvocates.com

    #19417

    Towfiq I.

    administrator

    open up index.php and try adding this:

    <?php echo do_shortcode('[contact-form-7 id="937" title="Contact form 1"]'); ?>

    after this line:

    <?php echo of_get_option('block3_textarea'); ?>

    #19418

    driggs

    subscriber

    Awesome. That worked to get it into the correct area. Is there a way to make it fit into that space…or make the blocks longer in height?

    http://www.theutahadvocates.com

    #19419

    Towfiq I.

    administrator

    add this to your stylesheet:

    .midrow_block{height:495px!important;}

    #19420

    driggs

    subscriber

    would you know how to edit the contact form to make the message area smaller? In my contact plugin area, i have the option to edit: id, cols, class, rows and default value for the text area…is changing the message area possible here?

    As always, thanks for ALL your help!

    #19421

    Towfiq I.

    administrator

    Try adding this to your stylesheet:

    #wpcf7-f937-t1-o1 textarea{height:60px;}

    #19422

    driggs

    subscriber

    you ROCK. thanks!!