<input type="hidden" id="_wpnonce" name="_wpnonce" value="d589524ad4" /><input type="hidden" name="_wp_http_referer" value="/blog/wp-json/wp/v2/posts/3648" /><input type="hidden" id="_wpnonce" name="_wpnonce" value="d589524ad4" /><input type="hidden" name="_wp_http_referer" value="/blog/wp-json/wp/v2/posts/3648" />{"id":3648,"date":"2015-07-12T20:20:35","date_gmt":"2015-07-12T10:20:35","guid":{"rendered":"https:\/\/www.businesslegions.com\/blog\/?p=3648"},"modified":"2015-07-13T15:53:39","modified_gmt":"2015-07-13T05:53:39","slug":"styling-wordpress-contact-form-7","status":"publish","type":"post","link":"https:\/\/www.businesslegions.com\/blog\/2015\/07\/12\/styling-wordpress-contact-form-7\/","title":{"rendered":"Styling WordPress Contact Form 7"},"content":{"rendered":"<!--CusAds0--><div class=\"lt-note\" style=\"background-color:#33aaff;border:1px solid #0086e5\"><div class=\"lt-note-shell\" style=\"border:1px solid #cceaff;color:#002d4c\">If you want to change the style of the WordPress plugin Contact Form 7 then read on.<\/div><\/div>\n<p>Styling a contact form can be a difficult task, especially for those\u00a0like me that have very little programming experience but with some persistence (more like trial and error), I managed to style the\u00a0contact form. The website is built using WordPress and the theme that was used is <a href=\"http:\/\/teslathemes.com\/amember\/aff\/go\/marco\/?i=110\" rel=\"nofollow\">Unik<\/a>.<\/p>\n<p><a href=\"http:\/\/teslathemes.com\/amember\/aff\/go\/marco\/?i=70\" rel=\"nofollow\"><img decoding=\"async\" src=\"http:\/\/teslathemes.com\/amember\/file\/get\/path\/.banners.530afe239fc05\/i\/12491\" alt=\"300-250 V3\" width=\"300\" height=\"250\" border=\"0\" \/><\/a><\/p>\n<p>The theme also had a built in Contact Form but it wasn&#8217;t customisable especially the way it sends out the information in the form so I decided not to use it. It was one of the reason why I had to use \u00a0the plugin Contact Form 7.<\/p>\n<p>Firstly, lets have a look at the default style for the Contact Form 7 &#8211; it looks like this:<\/p>\n<p><a href=\"https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/07\/WordPress-Contact-Form-7-Default-Style.png?strip=all&w=2560\"><img decoding=\"async\" class=\"alignnone wp-image-3651 \" src=\"https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/07\/WordPress-Contact-Form-7-Default-Style.png?strip=all\" alt=\"WordPress Contact Form 7 Default Style\" width=\"576\" height=\"590\" srcset=\"https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/07\/WordPress-Contact-Form-7-Default-Style.png?strip=all 696w, https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/07\/WordPress-Contact-Form-7-Default-Style-293x300.png?strip=all 293w, https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/07\/WordPress-Contact-Form-7-Default-Style-45x45.png?strip=all 45w, https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/07\/WordPress-Contact-Form-7-Default-Style.png?strip=all&amp;w=139 139w, https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/07\/WordPress-Contact-Form-7-Default-Style.png?strip=all&amp;w=417 417w, https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/07\/WordPress-Contact-Form-7-Default-Style.png?strip=all&amp;w=556 556w\" sizes=\"(max-width: 576px) 100vw, 576px\" \/><\/a><\/p>\n<p>As you can see the default style of the form is pretty boring and it actually doesn&#8217;t match the style guide of the\u00a0website.<\/p>\n<p>So the first step is to change the layout of the form. I wanted the Name, Your Email and Subject to be in the same row. The Your Message field and the Send button I wanted these to also be in a separate row. To do this, I ended up using the table syntax (yes I know most of you will say its best to use CSS but I didn&#8217;t have enough time to work this out so I used tables instead). Anyways, here&#8217;s the code that I used:<\/p>\n<div id=\"wpshdo_1\" class=\"wp-synhighlighter-outer\"><div id=\"wpshdt_1\" class=\"wp-synhighlighter-expanded\"><table border=\"0\" width=\"100%\"><tr><td align=\"left\" width=\"80%\"><a name=\"#codesyntax_1\"><\/a><a id=\"wpshat_1\" class=\"wp-synhighlighter-title\" href=\"#codesyntax_1\"  onClick=\"javascript:wpsh_toggleBlock(1)\" title=\"Click to show\/hide code block\">Source code<\/a><\/td><td align=\"right\"><a href=\"#codesyntax_1\" onClick=\"javascript:wpsh_code(1)\" title=\"Show code only\"><img decoding=\"async\" border=\"0\" style=\"border: 0 none\" src=\"https:\/\/cdn.businesslegions.com\/blog\/wp-content\/plugins\/wp-synhighlight\/themes\/default\/images\/code.png?strip=all&w=960\" \/><\/a>&nbsp;<a href=\"#codesyntax_1\" onClick=\"javascript:wpsh_print(1)\" title=\"Print code\"><img decoding=\"async\" border=\"0\" style=\"border: 0 none\" src=\"https:\/\/cdn.businesslegions.com\/blog\/wp-content\/plugins\/wp-synhighlight\/themes\/default\/images\/printer.png?strip=all&w=960\" \/><\/a>&nbsp;<a href=\"https:\/\/www.businesslegions.com\/blog\/wp-content\/plugins\/wp-synhighlight\/About.html\" target=\"_blank\" title=\"Show plugin information\"><img decoding=\"async\" border=\"0\" style=\"border: 0 none\" src=\"https:\/\/cdn.businesslegions.com\/blog\/wp-content\/plugins\/wp-synhighlight\/themes\/default\/images\/info.gif?strip=all&w=960\" \/><\/a>&nbsp;<\/td><\/tr><\/table><\/div><div id=\"wpshdi_1\" class=\"wp-synhighlighter-inner\" style=\"display: block;\"><pre class=\"php\" style=\"font-family:monospace;\"><span class=\"sy0\">&lt;<\/span>table<span class=\"sy0\">&gt;<\/span>\n<span class=\"sy0\">&lt;<\/span>tr<span class=\"sy0\">&gt;<\/span>\n<span class=\"sy0\">&lt;<\/span>td<span class=\"sy0\">&gt;<\/span>\n<span class=\"sy0\">&lt;<\/span>p<span class=\"sy0\">&gt;<\/span>YOUR NAME <span class=\"br0\">&#40;<\/span>required<span class=\"br0\">&#41;<\/span><span class=\"sy0\">&lt;<\/span>br <span class=\"sy0\">\/&gt;<\/span>\n<span class=\"br0\">[<\/span>text<span class=\"sy0\">*<\/span> your<span class=\"sy0\">-<\/span>name<span class=\"br0\">]<\/span> <span class=\"sy0\">&lt;\/<\/span>p<span class=\"sy0\">&gt;<\/span>\n<span class=\"sy0\">&lt;\/<\/span>td<span class=\"sy0\">&gt;<\/span>\n<span class=\"sy0\">&lt;<\/span>td<span class=\"sy0\">&gt;<\/span>\n<span class=\"sy0\">&lt;\/<\/span>td<span class=\"sy0\">&gt;<\/span>\n<span class=\"sy0\">&lt;<\/span>td<span class=\"sy0\">&gt;<\/span>\n<span class=\"sy0\">&lt;<\/span>p<span class=\"sy0\">&gt;<\/span>YOUR EMAIL <span class=\"br0\">&#40;<\/span>required<span class=\"br0\">&#41;<\/span><span class=\"sy0\">&lt;<\/span>br <span class=\"sy0\">\/&gt;<\/span>\n<span class=\"br0\">[<\/span>email<span class=\"sy0\">*<\/span> your<span class=\"sy0\">-<\/span>email<span class=\"br0\">]<\/span> <span class=\"sy0\">&lt;\/<\/span>p<span class=\"sy0\">&gt;<\/span>\n<span class=\"sy0\">&lt;\/<\/span>td<span class=\"sy0\">&gt;<\/span>\n<span class=\"sy0\">&lt;<\/span>td<span class=\"sy0\">&gt;<\/span>\n<span class=\"sy0\">&lt;\/<\/span>td<span class=\"sy0\">&gt;<\/span>\n<span class=\"sy0\">&lt;<\/span>td<span class=\"sy0\">&gt;<\/span>\n<span class=\"sy0\">&lt;<\/span>p<span class=\"sy0\">&gt;<\/span>SUBJECT<span class=\"sy0\">&lt;<\/span>br <span class=\"sy0\">\/&gt;<\/span>\n<span class=\"br0\">[<\/span>text your<span class=\"sy0\">-<\/span>subject<span class=\"br0\">]<\/span> <span class=\"sy0\">&lt;\/<\/span>p<span class=\"sy0\">&gt;<\/span>\n<span class=\"sy0\">&lt;\/<\/span>td<span class=\"sy0\">&gt;<\/span>\n<span class=\"sy0\">&lt;<\/span>td<span class=\"sy0\">&gt;<\/span>\n<span class=\"sy0\">&lt;\/<\/span>td<span class=\"sy0\">&gt;<\/span>\n<span class=\"sy0\">&lt;\/<\/span>tr<span class=\"sy0\">&gt;<\/span>\n<span class=\"sy0\">&lt;\/<\/span>table<span class=\"sy0\">&gt;<\/span>\n&nbsp;\n<span class=\"sy0\">&lt;<\/span>table<span class=\"sy0\">&gt;<\/span>\n<span class=\"sy0\">&lt;<\/span>tr<span class=\"sy0\">&gt;<\/span>\n&nbsp;\n<span class=\"sy0\">&lt;<\/span>p<span class=\"sy0\">&gt;<\/span>YOUR MESSAGE<span class=\"sy0\">&lt;<\/span>br <span class=\"sy0\">\/&gt;<\/span>\n<span class=\"br0\">[<\/span>textarea your<span class=\"sy0\">-<\/span>message<span class=\"br0\">]<\/span> <span class=\"sy0\">&lt;\/<\/span>p<span class=\"sy0\">&gt;<\/span>\n&nbsp;\n<span class=\"sy0\">&lt;\/<\/span>tr<span class=\"sy0\">&gt;<\/span>\n<span class=\"sy0\">&lt;<\/span>tr<span class=\"sy0\">&gt;<\/span>\n<span class=\"sy0\">&lt;<\/span>p<span class=\"sy0\">&gt;<\/span><span class=\"br0\">[<\/span>submit <span class=\"st0\">&quot;Send Message&quot;<\/span><span class=\"br0\">]<\/span><span class=\"sy0\">&lt;\/<\/span>p<span class=\"sy0\">&gt;<\/span>\n&nbsp;\n<span class=\"sy0\">&lt;\/<\/span>tr<span class=\"sy0\">&gt;<\/span>\n<span class=\"sy0\">&lt;\/<\/span>table<span class=\"sy0\">&gt;<\/span><\/pre><\/div><\/div>\n<p>You need to paste the code in the Form Tab in Contact Form 7.<\/p>\n<p><a href=\"https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/07\/WordPress-Contact-Form-7-Settings-Form.png?strip=all&w=2560\"><img decoding=\"async\" class=\"alignnone wp-image-3652 \" src=\"https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/07\/WordPress-Contact-Form-7-Settings-Form.png?strip=all\" alt=\"WordPress Contact Form 7 Settings Form\" width=\"816\" height=\"435\" srcset=\"https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/07\/WordPress-Contact-Form-7-Settings-Form.png?strip=all 1232w, https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/07\/WordPress-Contact-Form-7-Settings-Form-300x160.png?strip=all 300w, https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/07\/WordPress-Contact-Form-7-Settings-Form.png?strip=all&amp;w=246 246w, https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/07\/WordPress-Contact-Form-7-Settings-Form.png?strip=all&amp;w=492 492w, https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/07\/WordPress-Contact-Form-7-Settings-Form.png?strip=all&amp;w=739 739w, https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/07\/WordPress-Contact-Form-7-Settings-Form.png?strip=all&amp;w=985 985w\" sizes=\"(max-width: 816px) 100vw, 816px\" \/><\/a><\/p>\n<p>Make sure to click Save. After these changes the form should look like this:<\/p>\n<p><a href=\"https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/07\/WordPress-Contact-Form-7-Adding-Columns-in-table.png?strip=all&w=2560\"><img decoding=\"async\" class=\"alignnone  wp-image-3653\" src=\"https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/07\/WordPress-Contact-Form-7-Adding-Columns-in-table.png?strip=all\" alt=\"WordPress Contact Form 7 Adding Columns in table\" width=\"812\" height=\"500\" srcset=\"https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/07\/WordPress-Contact-Form-7-Adding-Columns-in-table.png?strip=all 859w, https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/07\/WordPress-Contact-Form-7-Adding-Columns-in-table-300x185.png?strip=all 300w, https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/07\/WordPress-Contact-Form-7-Adding-Columns-in-table.png?strip=all&amp;w=171 171w, https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/07\/WordPress-Contact-Form-7-Adding-Columns-in-table.png?strip=all&amp;w=515 515w, https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/07\/WordPress-Contact-Form-7-Adding-Columns-in-table.png?strip=all&amp;w=687 687w, https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/07\/WordPress-Contact-Form-7-Adding-Columns-in-table.png?strip=all&amp;w=450 450w\" sizes=\"(max-width: 812px) 100vw, 812px\" \/><\/a><\/p>\n<p>You will notice that the second and third row is not displaying full width for the second table and this is caused by some CSS syntax. So I wanted to make the\u00a0following changes:<\/p><!--CusAds0-->\n<ul>\n<li>Display full width<\/li>\n<li>Changed background colour<\/li>\n<li>Removed the borders around each field<\/li>\n<li>Changed the button and text colour<\/li>\n<li>Changed the text for each field and the button to be all uppercase.<\/li>\n<\/ul>\n<p>Here&#8217;s the CSS code I used:<\/p>\n<div id=\"wpshdo_2\" class=\"wp-synhighlighter-outer\"><div id=\"wpshdt_2\" class=\"wp-synhighlighter-expanded\"><table border=\"0\" width=\"100%\"><tr><td align=\"left\" width=\"80%\"><a name=\"#codesyntax_2\"><\/a><a id=\"wpshat_2\" class=\"wp-synhighlighter-title\" href=\"#codesyntax_2\"  onClick=\"javascript:wpsh_toggleBlock(2)\" title=\"Click to show\/hide code block\">Source code<\/a><\/td><td align=\"right\"><a href=\"#codesyntax_2\" onClick=\"javascript:wpsh_code(2)\" title=\"Show code only\"><img decoding=\"async\" border=\"0\" style=\"border: 0 none\" src=\"https:\/\/cdn.businesslegions.com\/blog\/wp-content\/plugins\/wp-synhighlight\/themes\/default\/images\/code.png?strip=all&w=960\" \/><\/a>&nbsp;<a href=\"#codesyntax_2\" onClick=\"javascript:wpsh_print(2)\" title=\"Print code\"><img decoding=\"async\" border=\"0\" style=\"border: 0 none\" src=\"https:\/\/cdn.businesslegions.com\/blog\/wp-content\/plugins\/wp-synhighlight\/themes\/default\/images\/printer.png?strip=all&w=960\" \/><\/a>&nbsp;<a href=\"https:\/\/www.businesslegions.com\/blog\/wp-content\/plugins\/wp-synhighlight\/About.html\" target=\"_blank\" title=\"Show plugin information\"><img decoding=\"async\" border=\"0\" style=\"border: 0 none\" src=\"https:\/\/cdn.businesslegions.com\/blog\/wp-content\/plugins\/wp-synhighlight\/themes\/default\/images\/info.gif?strip=all&w=960\" \/><\/a>&nbsp;<\/td><\/tr><\/table><\/div><div id=\"wpshdi_2\" class=\"wp-synhighlighter-inner\" style=\"display: block;\"><pre class=\"php\" style=\"font-family:monospace;\"><span class=\"sy0\">.<\/span>wpcf7\n<span class=\"br0\">&#123;<\/span>\nbackground<span class=\"sy0\">-<\/span>color<span class=\"sy0\">:<\/span> <span class=\"co2\">#f7f7f7;\n<\/span>border<span class=\"sy0\">:<\/span> 0px solid <span class=\"co2\">#0f0;\n<\/span><span class=\"br0\">&#125;<\/span>\n&nbsp;\ntable<span class=\"sy0\">:<\/span>not<span class=\"br0\">&#40;<\/span><span class=\"br0\">[<\/span><span class=\"kw2\">class<\/span><span class=\"br0\">]<\/span><span class=\"br0\">&#41;<\/span> td<span class=\"sy0\">,<\/span> table<span class=\"sy0\">:<\/span>not<span class=\"br0\">&#40;<\/span><span class=\"br0\">[<\/span><span class=\"kw2\">class<\/span><span class=\"br0\">]<\/span><span class=\"br0\">&#41;<\/span> th <span class=\"br0\">&#123;<\/span>\nborder<span class=\"sy0\">:<\/span> 0px<span class=\"sy0\">;<\/span>\n<span class=\"br0\">&#125;<\/span>\n&nbsp;\ninput<span class=\"br0\">[<\/span>type<span class=\"sy0\">=<\/span>submit<span class=\"br0\">]<\/span> <span class=\"br0\">&#123;<\/span>\nbackground<span class=\"sy0\">:<\/span> <span class=\"co2\">#ee1d24;\n<\/span>color<span class=\"sy0\">:<\/span> <span class=\"co2\">#00000;\n<\/span>font<span class=\"sy0\">-<\/span>size<span class=\"sy0\">:<\/span> medium<span class=\"sy0\">;<\/span>\ndisplay<span class=\"sy0\">:<\/span> block<span class=\"sy0\">;<\/span>\nwidth<span class=\"sy0\">:<\/span> 100<span class=\"sy0\">%;<\/span>\nheight<span class=\"sy0\">:<\/span>50px<span class=\"sy0\">;<\/span>\ntext<span class=\"sy0\">-<\/span>transform<span class=\"sy0\">:<\/span> uppercase<span class=\"sy0\">;<\/span>\n<span class=\"br0\">&#125;<\/span>\n&nbsp;\n&nbsp;\ninput<span class=\"br0\">[<\/span>type<span class=\"sy0\">=<\/span>text<span class=\"br0\">]<\/span><span class=\"sy0\">,<\/span> input<span class=\"br0\">[<\/span>type<span class=\"sy0\">=<\/span>password<span class=\"br0\">]<\/span><span class=\"sy0\">,<\/span> input<span class=\"br0\">[<\/span>type<span class=\"sy0\">=<\/span>email<span class=\"br0\">]<\/span><span class=\"sy0\">,<\/span> input<span class=\"br0\">[<\/span>type<span class=\"sy0\">=<\/span>search<span class=\"br0\">]<\/span><span class=\"sy0\">,<\/span> textarea<span class=\"br0\">&#123;<\/span>\n&nbsp;\nmargin<span class=\"sy0\">-<\/span>right<span class=\"sy0\">:<\/span>5px<span class=\"sy0\">;<\/span>\ntext<span class=\"sy0\">-<\/span>transform<span class=\"sy0\">:<\/span> uppercase<span class=\"sy0\">;<\/span>\nheight<span class=\"sy0\">:<\/span>45px<span class=\"sy0\">;<\/span>\nwidth<span class=\"sy0\">:<\/span> 100<span class=\"sy0\">%;<\/span>\n<span class=\"br0\">&#125;<\/span><\/pre><\/div><\/div>\n<p>I pasted this CSS code in the Unik theme&#8217;s Custom CSS section as shown below:<\/p>\n<p><a href=\"https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/07\/Theme-Unik-Custom-CSS.png?strip=all&w=2560\"><img decoding=\"async\" class=\"alignnone wp-image-3654 \" src=\"https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/07\/Theme-Unik-Custom-CSS.png?strip=all\" alt=\"Theme Unik Custom CSS\" width=\"1136\" height=\"384\" srcset=\"https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/07\/Theme-Unik-Custom-CSS.png?strip=all 1473w, https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/07\/Theme-Unik-Custom-CSS-300x101.png?strip=all 300w, https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/07\/Theme-Unik-Custom-CSS.png?strip=all&amp;w=589 589w, https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/07\/Theme-Unik-Custom-CSS.png?strip=all&amp;w=883 883w, https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/07\/Theme-Unik-Custom-CSS.png?strip=all&amp;w=1178 1178w, https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/07\/Theme-Unik-Custom-CSS.png?strip=all&amp;w=450 450w\" sizes=\"(max-width: 960px) 100vw, 960px\" \/><\/a><\/p>\n<p>So after all the above changes the final Contact Form looked like this:<\/p>\n<p><a href=\"https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/07\/Contact-Form-using-WordPress-Contact-Form-7.png?strip=all&w=2560\"><img decoding=\"async\" class=\"alignnone size-large wp-image-3649\" src=\"https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/07\/Contact-Form-using-WordPress-Contact-Form-7-883x490.png?strip=all\" alt=\"Contact Form using WordPress Contact Form 7\" width=\"670\" height=\"372\" srcset=\"https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/07\/Contact-Form-using-WordPress-Contact-Form-7-883x490.png?strip=all 883w, https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/07\/Contact-Form-using-WordPress-Contact-Form-7.png?strip=all&amp;zoom=0.2&amp;resize=670%2C372 134w, https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/07\/Contact-Form-using-WordPress-Contact-Form-7.png?strip=all&amp;zoom=0.4&amp;resize=670%2C372 268w, https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/07\/Contact-Form-using-WordPress-Contact-Form-7.png?strip=all&amp;zoom=0.6&amp;resize=670%2C372 402w, https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/07\/Contact-Form-using-WordPress-Contact-Form-7.png?strip=all&amp;zoom=0.8&amp;resize=670%2C372 536w, https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/07\/Contact-Form-using-WordPress-Contact-Form-7.png?strip=all&amp;zoom=1&amp;resize=670%2C372 670w\" sizes=\"(max-width: 670px) 100vw, 670px\" \/><\/a><\/p>\n<p>If you need to put a captcha box on the Contact Form then you need to install the plugin called Really Simple Captcha and add the code like below:<\/p>\n<p><a href=\"https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/07\/WordPress-Contact-Form-7-Really-Simple-Captcha1.png?strip=all&w=2560\"><img decoding=\"async\" class=\"alignnone wp-image-3663 \" src=\"https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/07\/WordPress-Contact-Form-7-Really-Simple-Captcha1.png?strip=all\" alt=\"WordPress Contact Form 7 Really Simple Captcha\" width=\"1039\" height=\"510\" srcset=\"https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/07\/WordPress-Contact-Form-7-Really-Simple-Captcha1.png?strip=all 1422w, https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/07\/WordPress-Contact-Form-7-Really-Simple-Captcha1-300x147.png?strip=all 300w, https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/07\/WordPress-Contact-Form-7-Really-Simple-Captcha1.png?strip=all&amp;w=568 568w, https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/07\/WordPress-Contact-Form-7-Really-Simple-Captcha1.png?strip=all&amp;w=853 853w, https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/07\/WordPress-Contact-Form-7-Really-Simple-Captcha1.png?strip=all&amp;w=1137 1137w, https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/07\/WordPress-Contact-Form-7-Really-Simple-Captcha1.png?strip=all&amp;w=450 450w\" sizes=\"(max-width: 960px) 100vw, 960px\" \/><\/a><\/p>\n<p>Press save and you will now see the Captcha box on the form:<\/p>\n<p><a href=\"https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/07\/WordPress-Contact-Form-7-with-Really-Simple-Captcha-Example.png?strip=all&w=2560\"><img decoding=\"async\" class=\"alignnone size-large wp-image-3664\" src=\"https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/07\/WordPress-Contact-Form-7-with-Really-Simple-Captcha-Example-883x566.png?strip=all\" alt=\"WordPress Contact Form 7 with Really Simple Captcha Example\" width=\"670\" height=\"429\" srcset=\"https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/07\/WordPress-Contact-Form-7-with-Really-Simple-Captcha-Example-883x566.png?strip=all 883w, https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/07\/WordPress-Contact-Form-7-with-Really-Simple-Captcha-Example.png?strip=all&amp;zoom=0.2&amp;resize=670%2C429 134w, https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/07\/WordPress-Contact-Form-7-with-Really-Simple-Captcha-Example.png?strip=all&amp;zoom=0.4&amp;resize=670%2C429 268w, https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/07\/WordPress-Contact-Form-7-with-Really-Simple-Captcha-Example.png?strip=all&amp;zoom=0.6&amp;resize=670%2C429 402w, https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/07\/WordPress-Contact-Form-7-with-Really-Simple-Captcha-Example.png?strip=all&amp;zoom=0.8&amp;resize=670%2C429 536w, https:\/\/cdn.businesslegions.com\/blog\/wp-content\/uploads\/2015\/07\/WordPress-Contact-Form-7-with-Really-Simple-Captcha-Example.png?strip=all&amp;zoom=1&amp;resize=670%2C429 670w\" sizes=\"(max-width: 670px) 100vw, 670px\" \/><\/a><\/p>\n<div class=\"lt-box\" style=\"border:1px solid #a8222f\"><div class=\"lt-box-title\" style=\"background-color:#d22b3b;border-top:1px solid #edaab1;text-shadow:1px 1px 0 #3f0d12\">RESOURCES<\/div><div class=\"lt-box-content\">List of resources related to this article:<\/p>\n<p><a href=\"http:\/\/www.wordpress.org\" target=\"_blank\">WordPress<\/a> &#8211; Popular Content Management System<\/p>\n<p><a href=\"http:\/\/teslathemes.com\/amember\/aff\/go\/marco\/?i=110\" rel=\"nofollow\">Unik<\/a> &#8211; Awesome WordPress Theme<\/p>\n<p><a href=\"https:\/\/wordpress.org\/plugins\/contact-form-7\/\" target=\"_blank\">Contact Form 7<\/a> &#8211; WordPress Plugin for contact forms<\/p>\n<p><a href=\"https:\/\/wordpress.org\/plugins\/really-simple-captcha\/\" target=\"_blank\">Really Simple Captcha<\/a> &#8211; WordPress Captcha Plugin compatible with Contact Form 7<\/p>\n<\/div><\/div>\n<div class=\"lt-box\" style=\"border:1px solid #22a89f\"><div class=\"lt-box-title\" style=\"background-color:#2bd2c7;border-top:1px solid #aaede9;text-shadow:1px 1px 0 #0d3f3c\">FEEDBACK<\/div><div class=\"lt-box-content\">I hope this has helped some of you. If you need any further help, please let me know by leaving a comment.<\/div><\/div>\n<div class=\"lt-box\" style=\"border:1px solid #1d6a9e\"><div class=\"lt-box-title\" style=\"background-color:#2485C6;border-top:1px solid #a7cee8;text-shadow:1px 1px 0 #0b283b\">DO YOU LIKE WHAT YOU'VE READ?<\/div><div class=\"lt-box-content\">Join our subscription list and receive our content right in your mailbox. If you like to receive some Great deals our Freebies then subscribe now!\r\n\r\n<p><div class=\"tnp tnp-subscription \">\n<form method=\"post\" action=\"https:\/\/www.businesslegions.com\/blog\/wp-admin\/admin-ajax.php?action=tnp&amp;na=s\">\n<input type=\"hidden\" name=\"nlang\" value=\"\">\n<div class=\"tnp-field tnp-field-firstname\"><label for=\"tnp-1\">Name<\/label>\n<input class=\"tnp-name\" type=\"text\" name=\"nn\" id=\"tnp-1\" value=\"\" placeholder=\"\"><\/div>\n<div class=\"tnp-field tnp-field-email\"><label for=\"tnp-2\">Email<\/label>\n<input class=\"tnp-email\" type=\"email\" name=\"ne\" id=\"tnp-2\" value=\"\" placeholder=\"\" required><\/div>\n<div class=\"tnp-field tnp-field-button\" style=\"text-align: left\"><input class=\"tnp-submit\" type=\"submit\" value=\"Subscribe\" style=\"\">\n<\/div>\n<\/form>\n<\/div>\n<\/p>\r\n\r\n<\/div><\/div><!--CusAds0-->\n<div style=\"font-size: 0px; height: 0px; line-height: 0px; margin: 0; padding: 0; clear: both;\"><\/div>","protected":false},"excerpt":{"rendered":"<p>Styling a contact form can be a difficult task, especially for those\u00a0like me that have very little programming experience but with some persistence (more like trial and error), I managed to style the\u00a0contact form. The website is built using WordPress and the theme that was used is Unik. The theme also had a built in [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":3649,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,1043,382],"tags":[893,1911,1910,1909,996,1912,1778,1936],"class_list":["post-3648","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-business","category-websites","category-wordpress","tag-change-the-style","tag-contact","tag-contact-form-7","tag-css","tag-form","tag-really-simple-captcha","tag-table","tag-wordpress"],"_links":{"self":[{"href":"https:\/\/www.businesslegions.com\/blog\/wp-json\/wp\/v2\/posts\/3648","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.businesslegions.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.businesslegions.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.businesslegions.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.businesslegions.com\/blog\/wp-json\/wp\/v2\/comments?post=3648"}],"version-history":[{"count":9,"href":"https:\/\/www.businesslegions.com\/blog\/wp-json\/wp\/v2\/posts\/3648\/revisions"}],"predecessor-version":[{"id":3666,"href":"https:\/\/www.businesslegions.com\/blog\/wp-json\/wp\/v2\/posts\/3648\/revisions\/3666"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.businesslegions.com\/blog\/wp-json\/wp\/v2\/media\/3649"}],"wp:attachment":[{"href":"https:\/\/www.businesslegions.com\/blog\/wp-json\/wp\/v2\/media?parent=3648"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.businesslegions.com\/blog\/wp-json\/wp\/v2\/categories?post=3648"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.businesslegions.com\/blog\/wp-json\/wp\/v2\/tags?post=3648"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}