Contact form 7 on the front page tab

Discussion in 'ColorWay WordPress Theme' started by merittmediaservices, Sep 7, 2013.

  1. merittmediaservices

    merittmediaservices New Member

    Joined:
    Aug 10, 2013
    Messages:
    10
    Likes Received:
    1
    I have been using the colorway theme (paid) and the coriato lite theme, I was wondering how to make the contact form 7 code like [contact-form-7 id="69" title="Contact form 1"] works on the the feature text setting under the Theme Option?
     
    robertburney likes this.
  2. Gourav

    Gourav Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    7,728
    Likes Received:
    207
    Hello,

    Go to front-page.php present in your theme directory and replace the current code

    Code:
    <?php echo stripslashes
    with code given below

    Code:
    <?php echo do_shortcode
    Sending image for reference

    2013-09-07_1322.png


    Now, go to Appearance > Theme Option > HomePage Settings > Fourth Feature Column Description

    and paste your contact form7 shortcode there.


    then,
    Paste this code in Custom CSS
    Appearance > Theme Option > Styling Option > Custom CSS

    Code:
    div.wpcf7 textarea {
    width: 100%;
    }
     
    div.wpcf7 input[type="text"]{
    width: 100%;
    }
     
     
    .wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required {
    width: 100%;
    }
    
    This will solve your issue.
     

Share This Page